[html] autocomplete ='off' is not working when the input type is password and make the input field above it to enable autocomplete

I've found that if the input has no name (e.g. the name attribute is not set), the browser can't autocomplete the field. I know this is not a solution for everyone, but if you submit your form through AJAX, you may try this.