Manual:Enabling autocomplete in a form


 * Note: this is intended for developers. You may be looking for Manual:Enabling autocomplete in search box

If you want to add suggestion of page titles to a form using an extension, it's simple to do. First, design your form. Make sure you set a unique id on the field you want to fill. The following JavaScript should do what you need, and it has extra comments to explain everything. This example is used in Extension:MassMessage.

Example
In :

Now in  (the main extension file):

Finally, in your special page, you need to add a call to.

Yay!