I have a site with registration & modify account forms. When a user navigates to one of these pages, Firefox is filling in certain areas of the form. It is filling in:
<input type="text" name="nemail2" value="" />
<input type="password" name="npassword" value="" />
Not sure why these names are original for this form, it can be the first time a user ever visits this form and it will fill in their username and password (not even in the correct boxes) from their cached passwords.
Note: the names of the actual login boxes are "emailaddr" and "password", also the
<label> is different for these boxes that it is filling in. Not sure what I should do, it looks horrible when a user comes to edit their account information and half optional fields for changing their email/password are filled out with their current information.
Any help is appreciated.
<input type="text" name="nemail2" value="" autocomplete="off" /> <input type="password" name="npassword" value="" autocomplete="off" />
You can also use it in the form element to turn off autocompletion for the entire form.