Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

ძიება მხარდაჭერაში

ნუ გაებმებით თაღლითების მახეში მხარდაჭერის საიტზე. აქ არასდროს მოგთხოვენ სატელეფონო ნომერზე დარეკვას, შეტყობინების გამოგზავნას ან პირადი მონაცემების გაზიარებას. გთხოვთ, გვაცნობოთ რამე საეჭვოს შემჩნევისას „დარღვევაზე მოხსენების“ მეშვეობით.

Learn More

As a developer can I somehow tell the password manager which field to pick for the username of new accounts ?

  • 1 პასუხი
  • 1 მომხმარებელი წააწყდა მსგავს სიძნელეს
  • 16 ნახვა
  • ბოლოს გამოეხმაურა TyDraniu

I am a developer for a web application. My clients have this issue that whenever a user creates an account the mozilla password manager promps them to save their new account. The problem is that the username fields is pre-filled with the user phone number.

My question is:

Is there a way (maybe with some attributes), to tell the password manager which field to pick for the username.

The current html form structure is very similar to this

<form>

   <input name="email" type="email" />
   <input name="phone" type="text"/>
   <input name="password" type="password"/>
   <input name="password_confirm" type="password"/>

</form>

I am a developer for a web application. My clients have this issue that whenever a user creates an account the mozilla password manager promps them to save their new account. The problem is that the username fields is pre-filled with the user phone number. My question is: Is there a way (maybe with some attributes), to tell the password manager which field to pick for the username. The current html form structure is very similar to this <form> <input name="email" type="email" /> <input name="phone" type="text"/> <input name="password" type="password"/> <input name="password_confirm" type="password"/> </form>

ყველა პასუხი (1)

stefangramadnikov said

Is there a way (maybe with some attributes), to tell the password manager which field to pick for the username. The current html form structure is very similar to this <form> <input name="email" type="email" /> <input name="phone" type="text"/> </form>

So it should be

 <input name="username" type="text"/>

instead of "phone".