Outside the Cube (8826)
Web publishing (65)
about DelphiFAQ (14)
perl CGI (3)
Web Hosting (8)
How can I make autocomplete work in my form?
5 comments. Current rating: (2 votes). Leave comments and/ or rate it.
Question:We have a web form and not all of the fields link with the autocomplete function properly - some fields are not offering the values that users put in using other forms on other sites. Do we have to use special field names for our input fields?
Explanation: Internet Explorer encrypts the autocomplete entries/values and stores them on the user's machine using vCard. vCard specifies certain properties about a user, for example their name, address, telephone number, e-mail address etc.
Any of these standard vCard values can be made available for a particular input field, even if it does not have the same name, as in your case.
The syntax for the mapping is shown at the bottom. Here is a list of the defined vCard properties: