nzinsli
asked on
Google toolbar autofill issue
I've been made aware of an issue with our site that I'm a bit perplexed by. I've searched Google's docs and such with no luck.
Our checkout form has the basic fields, name/addr/city/etc. We found that if you have Google toolbar installed and setup with one or more autofill profiles, it creates a validation issue on the form. When you start typing the email address, googles autofill puts the available text options below the field. If you select one and submit the form, the JS validation is only seeing the portion that you actually typed in, not the value that the Google toolbar filled in.
ie: You type "jsm" and click the toolbar autofill option of "jsmith@email.com", my JS validation is only getting "jsm" as the value for that textbox.
Has anyone else come across this before?
Our checkout form has the basic fields, name/addr/city/etc. We found that if you have Google toolbar installed and setup with one or more autofill profiles, it creates a validation issue on the form. When you start typing the email address, googles autofill puts the available text options below the field. If you select one and submit the form, the JS validation is only seeing the portion that you actually typed in, not the value that the Google toolbar filled in.
ie: You type "jsm" and click the toolbar autofill option of "jsmith@email.com", my JS validation is only getting "jsm" as the value for that textbox.
Has anyone else come across this before?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Found my own error.
value="" autocomplete="off"
If that doesn't work, a more complicated solution will be required, but try this first.
Open in new window