I tried several examples, i found autocomplete off will do the requirment but even form has auto-complete=off input fields in the form getting fill by double clicking on the input.
Asked
Active
Viewed 192 times
0
-
4share the code what you tried – Shehary Jul 13 '15 at 07:35
-
2In which browser are you testing this? If Chrome, you should be aware that Chrome's built-in Autofill option is separate from the standardised HTML autocomplete attribute. This SO question may be useful: http://stackoverflow.com/questions/10938891/ – kieranpotts Jul 13 '15 at 07:39
1 Answers
1
<form action="demo_form.asp" autocomplete="on">
First name:<input type="text" name="fname"><br>
Last name: <input type="text" name="lname"><br>
E-mail: <input type="email" name="email" autocomplete="off"><br>
<input type="submit">
</form>

Vishnu
- 11,614
- 6
- 51
- 90