Andreas Bonini
Andreas Bonini

Reputation: 44742

Is there a way to tell the browser not to prompt the user to remember the password on a specific page?

In the registration page on the website I'm working on Firefox prompts the user if they want to save their password.

If the user chooses yes then the password is saved for the registration page which is quite useless considering that the login page is different, and that the browser will prompt the user again in the login page, which makes poor user experience.

Is there any way I can tell the browser that there is no need to save the password on the registration page?

Upvotes: 3

Views: 127

Answers (3)

Friend of Kim
Friend of Kim

Reputation: 860

Try making the name and/or id/class of the password input something else than password, passwd, pass. I believe FF tries to recognize password fields by looking at their names.

Upvotes: 1

Andreas Bonini
Andreas Bonini

Reputation: 44742

Well, I found a solution right after posting the question:

<form autocomplete="off">

disables prompting the user to remember the password, and turns off auto complete of fields which is a good idea for a registration form.

Upvotes: 1

Manse
Manse

Reputation: 38147

You can use the following form tag ->

<form id="<someid>" action="<action>" method="<method>" autocomplete="off">

Not sure that all browsers support it -> https://developer.mozilla.org/En/How_to_Turn_Off_Form_Autocompletion

Upvotes: 5

Related Questions