phpabuse
phpabuse

Reputation: 193

Browser offering to save passwords on HTML FORMS?

I have a sign up page on my website. Now when a user signs up, the broswer will offer to remember the password and email on the sign up form. Which is not what I want at all, as I only want it where they will login.

Is there anyway to disable this, or is it out of my control.

<input type="post" autocomplete="off" />

autocomplete does not work.

Thanks,

Upvotes: 3

Views: 2406

Answers (3)

no.good.at.coding
no.good.at.coding

Reputation: 20371

You're setting the attribute on the <input> element - this should be an attribute of the <form> element.

Upvotes: 2

Naraen
Naraen

Reputation: 3250

There isn't a completely bulletproof way to turn autocomplete off.

autocomplete is a non-standard tag. So YMMV depending on the browser.

Try setting the attribute on the form tag instead of the input tag. I've had it work when specified on the form tag in the past.

Upvotes: 0

user688461
user688461

Reputation:

A number of solutions can be found here:

Disable browser 'Save Password' functionality

Your best bet is probably using JavaScript to bypass the default form submission mechanism.

Upvotes: 0

Related Questions