for some reason, i do not want to build one of forms using form api. the form consists a text field that i would like to make it autocomplete-enabled.

i know how to use the autocomplete_path when building form using form api. i would like to know is it possible to use the autocomplete.js if i build a form using php within drupal?

thanks a lot.

Comments

vijaythummar’s picture

Yes you can use, but you have to make same HTML structure as it is in Drupal Form API.

Thanks,
Vijay Thummar

sisyphus’s picture

is there any reference please? in face i've tried to do so but failed.

thanks a lot

sisyphus’s picture

i've tried again. it's ok now. thanks =D