-1

I created html form for registration, where user must fill password input. Actually if "register" button is pressed, then i process form on the server side and i make redirect. Chrome still offering me if i want to save password on this site (probably because it knows that there is password input on tha form, which was submitted). I wanna dissalow this offer from browser when user is registering.

Krab
  • 6,526
  • 6
  • 41
  • 78

1 Answers1

1

Try setting autocomplete="off" on your input:

<input type="password" name="password" autocomplete="off" />

https://developer.mozilla.org/en-US/docs/Mozilla/How_to_Turn_Off_Form_Autocompletion?redirectlocale=en-US&redirectslug=How_to_Turn_Off_Form_Autocompletion

Advocation
  • 578
  • 3
  • 14