Auto compleate property of form, textbox and textarea

Every time when you creating and submitting a form then you will see that form fields are filled every time after submit form.Actually it takes data from brouser catche memory.Some time you don't need that data for security reason or may be any other reason.So here autocompleate property of form, textbox and textarea play a vital roll to solve your problem .

If you want that no one fields will take data from brouser of form then do autocompleate="off" on form tag  or if you want to stop taking data of specific input then use autocompleate="off" on specific input box        like below :

<form action="demo_form.php" autocomplete="on">

First name:<input type="text" name="fname">
 Last name: <input type="text" name="lname">
 E-mail: <input type="email" name="email" autocomplete="off">

 <input type="submit">

</form>


If you like this post please don't forgot to notify me to post a comment .

Happy coding guys :)

Post a Comment

Previous Post Next Post