It works the same way a select widget works. There are two types of autocomplete widgets.
1. autocomplete
This is just a text field that tries to autocomplete what you are typing based on a valuelist. It doesn't provide a drop-down list of options.
2. yui_autocomplete
This is the YUI autocomplete widget. It provides a drop-down list of options for autocomplete.
e.g.
- Code: Select all
[myfield]
widget:type=autocomplete
vocabulary=myvaluelist
or
- Code: Select all
[myfield]
widget:type=yui_autocomplete
vocabulary=myvaluelist
This page may also be helpful
http://xataface.com/wiki/widget%3Atype
-Steve