Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7642771
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T09:16:27+00:00 2026-05-31T09:16:27+00:00

autocomplete=off is not what I am after. Basically, on my registration form there are

  • 0

autocomplete="off" is not what I am after. Basically, on my registration form there are fields “phone” and “password” placed one above the other. (see screenshot)

The “phone” field gets, annoyingly, prepopulated with a username, as I guess what the browser is doing – the browser finds a field of type password and assumes the text input field just before it is a username field. The effect is this:

registration form snapshot

Why I am not interested in the non-standard autocomplete attribute for the phone field, is that I do want user to be able to fill this form as easily as possible and if they have previously entered their phone number on other sites (into fields called “phone”) they could benefit from this showing up as they start typing into the field. That’s why I don’t want to turn autocomplete off altogether.

I was thinking more in the direction of reorganizing the fields somehow to avoid this behaviour. Or some way of telling the browser that the field above the password field has nothing to do with it, or that the password field is not used for authentication purposes. Somehow mark it as that. Or inject some invisible element inbetween these two fields?

Any ideas?

Markup used:

<input id="phone" name="phone" type="text" value="" maxlength="30">
<input id="newPassword" name="newPassword" type="password" value="" maxlength="20">

I am getting this behaviour on Chrome, FF, (not sure about IE, got an archaic version of that on my machine, don’t even want to start worrying about IE yet.)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T09:16:28+00:00Added an answer on May 31, 2026 at 9:16 am

    Most password managers will search the first password field, and the closest text field before it.

    So all you have to do is add invisible text and password fields (display:none) above “new password”.

    Firefox tries to interpret 3 password fields as a “change password” action, so if you don’t want that you should be safe adding yet another invisible password field.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Question: Is there any reason Autocomplete=off on a ASP:Textbox would not be working in
So the autocomplete=off attribute is invalid HTML according to the w3c. Are there valid
Is there a way to turn off auto-complete on an input-field using jQuery? Like
jQuery autocomplete docs state there should be two Models, the first being the model
Is there an AJAX autocomplete for jQuery that supports multiple columns? I mean multiple
I have this code (jQuery). Basically I want to reload page if there is
is there any interface to decide which fields should be collapsed and which ones
My actual question is how would I go about creating a autocomplete dropdown off
My autocomplete is not working and I can't spot the error. Jquery : <script>
Among other text and visual aids on a form submission, post-validation, I'm coloring my

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.