Prohledat stránky podpory

Vyhněte se podvodům. Za účelem poskytnutí podpory vás nikdy nežádáme, abyste zavolali nebo poslali SMS na nějaké telefonní číslo nebo abyste sdělili své osobní údaje. Jakékoliv podezřelé chování nám prosím nahlaste pomocí odkazu „Nahlásit zneužití“.

Zjistit více

Saving email as username in log-in forms

  • 2 odpovědi
  • 1 má tento problém
  • 1 zobrazení
  • Poslední odpověď od cor-el

more options

I am designing a html log-in form. The email-field must be saved as the username. But Firefox detects the password field and then saves the first text-field it finds (by searching backward) as the username. But in my case the first-previous textfield is not the username field. How can I let Firefox save my email-field as the username?

I am designing a html log-in form. The email-field must be saved as the username. But Firefox detects the password field and then saves the first text-field it finds (by searching backward) as the username. But in my case the first-previous textfield is not the username field. How can I let Firefox save my email-field as the username?

Všechny odpovědi (2)

more options

Try posting at the Web Development / Standards Evangelism forum at MozillaZine. The helpers over there are more knowledgeable about web page development issues with Firefox.
http://forums.mozillazine.org/viewforum.php?f=25
You'll need to register and login to be able to post in that forum.

more options

You can only achieve that by reordering the fields in such a way that the user name field immediately precedes the password field.
Firefox will always decide to use those two fields for storing the name and password in the Password Manager.

Maybe it works if you use absolute positioning to reorder the fields for displaying in the wanted order (don't know how smart Firefox is) and have them in the DOM in user name password order.