Digging a little in the Autocomplete options, I discovered the " tokens" that can define a separator value. This allows then to run a search on a field multivalued Lotus Notes.
The only things to change to manage research on a multivalued field are:
- Declare the Notes field with the option "Allow multiple values "
- In order to research, specify the column that displays the names of " Show multiple values as separate entries "
- Modify Autocomplete to the call by adding the optional tokens:
new Ajax.Autocompleter ( "autocomplete",
"autocomplete_choices"
"scriptaculous? createDocument" {tokens: ',' });
To test the autocompletion on multivalued field is always on the same page.
0 comments:
Post a Comment