0

If user name and password of login form are saved by browser. Then this user name and password are set by browser in another form of dashboard after login. But I does not wants to set the user name and password of login into this dashboard form. How to prevent the browser to set these user name and password in insider dashboard form but I want that browser save these only for login form.

K Dey
  • 19
  • 3

1 Answers1

0

Chrome (not supported)

see this post

Others

The easiest and simplest way to disable Form and Password storage prompts and prevent form data from being cached in session history is to use the autocomplete form element attribute with value "off".

From http://developer.mozilla.org/En/How_to_Turn_Off_Form_Autocompletion

see this post

<form id="loginForm" action="login.cgi" method="post" autocomplete="off">
Community
  • 1
  • 1
Henry Zou
  • 1,809
  • 1
  • 14
  • 19
  • No this does not work in chrome. I have written autocomplete="off" but chrome gives password storage prompts. – K Dey Jan 14 '16 at 14:56
  • doesn't seem to be supported natively by chrome. I added another post with the same question about chrome – Henry Zou Jan 14 '16 at 15:00