Stop user's browser to save name, email, password for your web application

By default browsers keep the history of your input on name, email etc. Whenever it finds any input box with same name as previously submitted whether the site is previously visited or not, browser suggests the value of the fields to ease filling up the form. But you, as an application developer may not want to have this feature. What you need to do? You just need to add an attribute to your form tag. This is autocomplete="off". It will look like:

...

Share this post

Leave a comment

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.