Korferer Posted June 25, 2014 Share Posted June 25, 2014 I read this article. About two thirds down it mentions that you can turn off autocomplete on the entire form if you put it in the form tag. The post is from 2011 though so I was wondering if it is still valid? Does anyone know if this is still correct? So, can I use something like; <form action="example.php" autocomplete="off"> First name:<input type="text" name="fname"> Last name: <input type="text" name="lname"> E-mail: <input type="email" name="email"> <input type="submit"> </form> Or do I need something like; <form action="example.php"> First name:<input type="text" name="fname" autocomplete="off"> Last name: <input type="text" name="lname" autocomplete="off"> E-mail: <input type="email" name="email" autocomplete="off"> <input type="submit"> </form> To be sure... Link to comment https://forums.phpfreaks.com/topic/289283-does-autocomplete-cascade-through-the-form/ Share on other sites More sharing options...
requinix Posted June 25, 2014 Share Posted June 25, 2014 Yes, that is still the case. Link to comment https://forums.phpfreaks.com/topic/289283-does-autocomplete-cascade-through-the-form/#findComment-1483204 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.