jeudi 26 février 2015

How to use an autocomplete combobox in Contact Form 7?


Firstly, Notice I have found the following terms mean the same:



  • Autofill combobox

  • Autocomplete dropdown

  • HTML5 datalist


The Contact Form 7 documentation says we can add a "normal" combo-box with the following shortcut:



[select* your-browser include_blank "Firefox" "Safari" "Opera" "Lynx"]


However I want to introduce all the universities of my country, so the combo-box list would be too big. That's why an auto-complete combo-box like the following will be perfect:


auto-complete combo-box example


So far, the only solution I have found is to modify the code of the plugin contact-form-7-city-field-extension (this plugin adds a auto-complete combo-box with the cities of the World).


Any other idea? I'm using Contact Form 7 to send the data to MailChimp with the MailChimp for WordPress Lite plugin.





Aucun commentaire:

Enregistrer un commentaire