How to disable autofill/autocomplete in html form textbox

Althought these settings from browser to browser that will they autofill some forms or not, you can suggest them if you want to enable or disable autocomplete for your forms or any specific field in your html forms.

To disable the autocomplete option for html forms, use this code (attribue) :

autocomplete="off"

To disable autocomplete for all the form fields, use this in the <form . . . > tag. However, if you want to disable autocomplete for any specific field only, then use it inside the specific tag like <input type . . . . >

Autocomplete can be enabled by using autocomplete = “autocomplete” too for all or specific field of a html 5 form.

This is a html 5 attribute, but works for html dtd’s too.

hire best wordpress php css developer
Need Help? Hire me now!
I can help you in anything related to webdevelopment, including: HTML, CSS, PHP & MySql, WordPress (plugins & themes development, others), regular expressions, server management, etc.

Leave a Reply

Your email address will not be published.