I created 2 login pages of same domain.
I put the form name different for 2 forms with in these two page. Also I put autocomplete = 'off'
for the second form and for the text fields within that form.(But it is on for first form ).
Now if I save the username and password at the time of login from www.testDomain.com/login.cfm
in browser, then the list of usernames are auto populating in the username field of second login page even if the auto Complete is off. I need to block this for security reasons. Is there any way to do this? I am using FireFox V21.
Best Answer
This is the cleanest solution I have found to keep Firefox from auto completing.
Add this code snip-it above your input of type password.
As far as I can tell Firefox is looking for an input of type Password, and filling in the password and then adding the username to the input of type text above it. Without a name or an id the inputs don't get added to the post, but this is still a hack.