This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Caută ajutor

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Află mai multe

Acest fir de discuție a fost arhivat. Adresează o întrebare nouă dacă ai nevoie de ajutor.

My website forms not working in Mozilla

  • 22 răspunsuri
  • 4 au această problemă
  • 13 vizualizări
  • Ultimul răspuns de paulhraines

more options

I have a rather "weird" problem with Mozilla web browser.

I created a website which contains many basic forms, built with HTML5 (for example : simple login form, which asks for a user's login and password).

It's a very simple and basic login form; it is submitted when the user clicks the "submit" button.

Here is the code :

 <form id="myform" action="login.php" method="post">
 Username : <input type="text" name="username" minlength="4" required/>
 Password : <input type="password" name="password" minlength="8" required />
 <input type="submit" name="submit" id="submit" value="Log In"/>


The problem I am having is with Mozilla Firefox browser.

My form works with EVERY browser out there : Chrome, Safari, Opera, IE, etc

When I open the form in other browsers, the cursor is blinking in the "Username" field, of course. As it should be.

But, when I open this form in Mozilla, there is no cursor blinking. I cannot write anything in the username or password fields. (It is as though the fields have been DISABLED, or set to READ-ONLY)

But, when I click on the "Log In" button, then an error-alert message pops up, saying : "Username is a required field" (obviously).

Then --- and only then --- the cursor finally appears in the Username text-box, and I am able to provide the login credentials.

I find this rather amusing. But, it certainly won't be amusing to someone who is trying to log into my website with Mozilla Firefox!

What could the problem be?

I know there is nothing wrong with my code, because the form works in ALL browsers. It even works in Mozilla, too...........but only AFTER I have clicked on the "submit" button, and then I am prompted to input the login credentials.

I have a rather "weird" problem with Mozilla web browser. I created a website which contains many basic forms, built with HTML5 (for example : simple login form, which asks for a user's login and password). It's a very simple and basic login form; it is submitted when the user clicks the "submit" button. Here is the code : <form id="myform" action="login.php" method="post"> Username : <input type="text" name="username" minlength="4" required/> Password : <input type="password" name="password" minlength="8" required /> <input type="submit" name="submit" id="submit" value="Log In"/> The problem I am having is with Mozilla Firefox browser. My form works with EVERY browser out there : Chrome, Safari, Opera, IE, etc When I open the form in other browsers, the cursor is blinking in the "Username" field, of course. As it should be. But, when I open this form in Mozilla, there is no cursor blinking. I cannot write anything in the username or password fields. (It is as though the fields have been DISABLED, or set to READ-ONLY) But, when I click on the "Log In" button, then an error-alert message pops up, saying : "Username is a required field" (obviously). Then --- and only then --- the cursor finally appears in the Username text-box, and I am able to provide the login credentials. I find this rather amusing. But, it certainly won't be amusing to someone who is trying to log into my website with Mozilla Firefox! What could the problem be? I know there is nothing wrong with my code, because the form works in ALL browsers. It even works in Mozilla, too...........but only AFTER I have clicked on the "submit" button, and then I am prompted to input the login credentials.

Toate răspunsurile (2)

more options

You can check your js extension whether it is true or not just type about:support. See there the troubleshooting info available check it and see if you can fix it from there.

more options

kushagra said

You can check your js extension whether it is true or not just type about:support. See there the troubleshooting info available check it and see if you can fix it from there.


extensions.lastAppVersion = v 39.0

Javascript Incremental GC = true

(as I mentioned earlier, if I disable JS, then the form works)

  1. 1
  2. 2