Closed Bug 439810 Opened 16 years ago Closed 14 years ago

Submit button stays disabled if javascript disables it before submitting and user presses the Back button on form action page

Categories

(Firefox :: General, defect)

x86
Windows Vista
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: bosborne, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [CLOSEME 2010-11-01])

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9) Gecko/2008052906 Firefox/3.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9) Gecko/2008052906 Firefox/3.0

If the submit button on a form is disabled by javascript and then the form is submitted, the submit button will remain disabled if the Back button is pressed.  Many web designers will disable a submit button on a form after submitting to avoid users from clicking it too many times.

See the included website for an example.

Reproducible: Always

Steps to Reproduce:
1. Create a submit button on a page
2. Have the submit button disabled after the page has been submitted (javascript)
3. Have the form submit to another page
4. Press back button
Actual Results:  
Submit button will stay disabled, but text WILL change back to its original state.

Expected Results:  
Submit button should be enabled.

Try this in another browser to confirm.

Some may ask, "Why would you need the button enabled?"  Such a scenario would be if form action page detected missing items in the form, such as a missing name, and directed users to press the Back button and make changes.  With this bug, no changes to the form can be resubmitted.

Not too major, but is something that should be fixed to avoid loss of functionality.
MAKE SURE TO VIEW THE URL EXAMPLE
Version: unspecified → 3.0 Branch
Actually, I was able to replicate the problem in a Firefox 2 installation.  This is, however, still a bug.
Version: 3.0 Branch → unspecified
This is a mass search for bugs which are in the Firefox General component, are
UNCO, have not been changed for 500 days and have an unspecified version. 

Reporter, can you please update to Firefox 3.6.10 or later, create a fresh profile, http://support.mozilla.com/en-US/kb/managing+profiles, and test again. If you still see the issue, please update this bug. If the issue is gone, please set the status to RESOLVED > WORKSFORME.
Whiteboard: [CLOSEME 2010-11-01]
No reply from reporter, INCOMPLETE. Please retest with Firefox 3.6.12 or later and a new profile (http://support.mozilla.com/kb/Managing+profiles). If you continue to see this issue with the newest firefox and a new profile, then please comment on this bug.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → INCOMPLETE
This issue still exists in FF 26. Any update on this ?
You need to log in before you can comment on or make changes to this bug.