WebDev and Chome AutoComplete Issues

Sometimes I come across this very strange issue when I create a page in WebDev and the fields are autocompleted as if they are user name and password.

From my investigations into this issue, I believe it has something to do with the way that WebDev handles HTML element naming. Even though you have named an edit field something unique, this is not the ID/name used when it generates the HTML. Instead, it generates an Alias name, for example A10.

To overcome conflict with Chrome autocomplete, a neet trick I found is to do the following:

Set the control to read-only:

Finally, add code to the browser onfocus event to make the edit field active:

You will find now that Chrome will not autocomplete your field and all is well in the world of WebDev.

Please do share this tip with the world…

Spread the love

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Copyright FUNCODER 2019
Shale theme by Siteturner