W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2005

[whatwg] Submit buttons

From: Olav Junker Kjær <olav@olav.dk>
Date: Tue, 24 May 2005 20:13:06 +0200
Message-ID: <42936EB2.4090901@olav.dk>
I think there is a slight inconsistency with submit buttons.
Section 2.17.:
"Normally, activating a submit button ... must submit the first form the 
control is associated with"
Section 2.3
"If the platform supports submitting a form implicitly ... then when 
doing so the first submit button, this default button, must be the one 
used to initiate form submission (and it will therefore be successful)."

The problem is that the the default button for a form might not submit 
the same form when activatated, if the form is not the first form in the 
forms collection of the button.

It could be solved by requiring that submit buttons (and input 
type=image) may only be associated with a single form at a time.

regards
Olav Junker Kj?r
Received on Tuesday, 24 May 2005 11:13:06 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:41 UTC