3

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,

phpabuse
  • 193
  • 6

3 Answers3

2

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

no.good.at.coding
  • 19,647
  • 1
  • 57
  • 51
0

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.

Community
  • 1
  • 1
0

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.

Naraen
  • 3,025
  • 2
  • 18
  • 20