So what does this component do?

Here is the first examlpe:
list of emails is being autocompleted in a simple input





Or this examlpe with lots more details:
In this example the typed text will be searched for anywhere in the strings in the list



available autocomplete (depending on your selection):

'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'
or days
'Monday', 'Tuesday', 'Wendsday', 'Thursday', 'Fryday', 'Saturday', 'Sunday'



code
Countries with custom formatting function:



code


...or you can turn a regular select with countries list to an autocompleted one:



code
Gmail like autocomplete. You can separate the items by comma. The option autocomplete_forcecorrect="true" is used so if a text typed does not match any item the last typed characters (those which after adding them the list with suggestions was empty) are marked

code
And finally the remote loading functionality. The data is loaded from a url (the attribute autocomplete_list="url:") ). The list returned is just a list of items separated by pipe - item1|item2|item3. In this example the url is get.php?s=[S]&l=10. The [S] will be replaced with the actual control value before submitting. The other option ( l=10 ) is an option to tell the script (get.php) to limit the result to only ten suggestions.

code