Closed Bug 69839 Opened 24 years ago Closed 23 years ago

[CHK]Disabled Checkboxes and Radio buttons Submit value if submitted with javascript [form sub]

Categories

(Core :: DOM: Core & HTML, defect)

x86
All
defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla1.0

People

(Reporter: vladimire, Assigned: alexsavulov)

References

()

Details

Attachments

(2 files)

Checkboxes that are disabled still submit value, if .submit() javascript method is used to submit the form. Testcase in the url illustrates the problem. See it on 2001-02-06-04-Mtest - Win98 2001-02-06-08-08-Mtest - MacOS 8.x and 2001-02-06-08-Mtest - RedHat Linux
Works fine on a regular submit, but is broken for an onload handler submit.
Status: NEW → ASSIGNED
I need to check the IsSuccessful method to make sure it is doing the right thing.
Summary: Disabled Checkboxes Submit value if submitted with javascript → [CHK]Disabled Checkboxes Submit value if submitted with javascript
Target Milestone: --- → mozilla0.9.1
Attached file TestCase (deleted) —
Summary: [CHK]Disabled Checkboxes Submit value if submitted with javascript → [CHK]Disabled Checkboxes and Radio buttons Submit value if submitted with javascript
The problem is not only with onload event handler. It is with javascript submit() method. In the attached testcase I used a button with onclick handler also having the same problem. Also the problem is not only with checkboxes, but with radio buttons too (changed the summary).
Another submission thing related to your work.
Assignee: rods → pollmann
Status: ASSIGNED → NEW
This has been fixed, resolving
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Hmm... this is still present, I think I ran the test by clicking submit button when got the testresults.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
No realworld test case, non-critical, moving to 0.9.2
Status: REOPENED → ASSIGNED
Target Milestone: mozilla0.9.1 → mozilla0.9.2
Target Milestone: mozilla0.9.2 → mozilla1.0
The testcase and URL leave something to be desired ... the URLs are malformed. Attaching a better testcase. This happens in 2001092113 CVS. It is fixed in the bug 34297 patch. Updating dependencies.
Attached file working testcase (deleted) —
Bulk reassigning form bugs to Alex
Assignee: pollmann → alexsavulov
Status: ASSIGNED → NEW
Summary: [CHK]Disabled Checkboxes and Radio buttons Submit value if submitted with javascript → [CHK]Disabled Checkboxes and Radio buttons Submit value if submitted with javascript [form sub]
Fixed with bug 34297 landing.
fixed
Status: NEW → RESOLVED
Closed: 24 years ago23 years ago
Resolution: --- → FIXED
verifying on windows 98 2002-01-07-03-trunk
Status: RESOLVED → VERIFIED
Component: HTML: Form Submission → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: