Autocomplete input field in xwiki forms

Hello,
I have a xwiki app forms with Class/Sheet/Templates and nice velocity code.
In MyDocClass I have a String property MyProperty and I want to use autocomple feature to fill data in it.
When my user typing in MyProperty input field, I want to propose with autocomplete all values already field in others MyDocClass documents.

Do you know a nice way/method I can use for this?

Maybe Autocomplete | jQuery UI (it seems that jquery-ui-1.11.4.jar is in xwiki pack)?
WDYT?

Thxs.
Pascal B

Hi @Pbas, In the class editor there is a checkbox “Use suggest” that is meant to provide this feature, in principle. Let us know how it goes when you hit this checkbox?

Silly of me! I forgot that xwiki contains some magical stuff!
Thxs!

1 Like