Closed Bug 154145 Opened 22 years ago Closed 22 years ago

missing submission of value by disabled text field

Categories

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

x86
Windows 98
defect
Not set
normal

Tracking

()

VERIFIED INVALID

People

(Reporter: ad, Assigned: john)

Details

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.1a) Gecko/20020611 BuildID: 2002061104 If a text input field is protected by the flag "disabled", the value will not be submitted. Maybe it's a "feature", I call it a "bug" :-) Bye, Arnd Reproducible: Always Steps to Reproduce: 1.try to submit data of a text input field, thats protected by DISABLED 2. 3. Actual Results: - Expected Results: submit the value :-) -
to john
Assignee: alexsavulov → jkeiser
This is correct according to the HTML spec, which states that: "When set, the disabled attribute has the following effects on an element: * Disabled controls do not receive focus. * Disabled controls are skipped in tabbing navigation. * Disabled controls cannot be successful." Successful is defined as "'valid' for submission". So if an element is disabled, it cannot be successful/valid for submission and therefore should not be submitted. References: <http://www.w3.org/TR/html4/interact/forms.html#adef-disabled> <http://www.w3.org/TR/html4/interact/forms.html#successful-controls>
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → INVALID
verifying
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.