Este site irá ter funcionalidade limitada enquanto fazemos manutenção para melhorar a sua experiência. Se um artigo não resolve o seu problema e quiser colocar uma questão, temos a nossa comunidade de apoio à espera de o ajudar em @FirefoxSupport no Twitter, /r/firefox no Reddit.

Pesquisar no apoio

Evite burlas no apoio. Nunca iremos solicitar que telefone ou envie uma mensagem de texto para um número de telefone ou que partilhe informações pessoais. Por favor, reporte atividades suspeitas utilizando a opção "Reportar abuso".

Saber mais

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

  • 1 resposta
  • 1 tem este problema
  • 1 visualização
  • Última resposta por TyDraniu

more options

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>

Todas as respostas (1)

more options

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".