Here I am going to describe you that how to disabled Autocomplete of the Input box.
For Security purpose of the website we have to disable the Autocomplete to fill automatically the login details of the user in to the login form, Most browsers have a facility to remember user credentials that are entered into HTML forms. Since autocomplete is enabled, credentials entered by the user are stored on their local computer and retrieved by the browser on future visits to the same application. The stored credentials can be captured by an attacker who has access to the computer, either locally or through some remote compromise.
To prevent browsers from storing credentials entered into HTML forms, developer should include the attribute autocomplete="off" within the FORM tag (to protect all form fields) or within the relevant INPUT tags (to protect specific individual fields).
But the only including the attribute autocomplete="off" is not working, we need to do some tricky code to disabled the autocomplete, and the code are below:
The above code will help to prevent autocomplete the login form.
Thanks!!!
More From Oodles
Ready to innovate? Let's get in touch
Cookies are important to the proper functioning of a site. To improve your experience, we use cookies to remember log-in details and provide secure log-in, collect statistics to optimize site functionality, and deliver content tailored to your interests. Click Agree and Proceed to accept cookies and go directly to the site or click on View Cookie Settings to see detailed descriptions of the types of cookies and choose whether to accept certain cookies while on the site.
About Author
Rahul Sarkar
Rahul is an intellectual web app developer, he has good knowledge of C, Java, Java Script, Jquery. Apart from this he likes to travel and explore new places.