Input html correct?

Michael's Avatar


21 Apr, 2010 02:51 PM

First off I would like to thank for a great script.

There is one thing that is puzzling me. The script seems to create a second hidden input where it saves the data.
First of all both inputs have the same ID which is not CSS compliant.
Secondly, when I process the form I want the original input to contain the data as it has the custom name I gave it which I use to access the data on the server side (PHP).

On another note, is it possible to force the user to choose one of the suggestions? I.e. have the script auto-select a value.


  1. Support Staff 1 Posted by Drew Wilson on 21 Apr, 2010 04:59 PM

    Drew Wilson's Avatar

    He Michael,

    AutoSuggest creates on 1 hidden field per AutoSuggest box. That hidden field is where the values are stored comma separated. You can change the ID of that field to be anything you want using the option "asHtmlID". You can just name it whatever you want and use it with your form.


  2. Drew Wilson closed this discussion on 17 May, 2010 10:18 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac