HTML Standard Tracker


File a bug

SVNBugCommentTime (UTC)
2539Add a note pointing out that buttons aren't submitted unless they submitted the form.2008-12-17 00:30
@@ -30839,20 +30839,24 @@ You cannot complete this form until the field is correct.</samp></pre>
   <p>The <dfn title="attr-button-value"><code>value</code></dfn>
   attribute gives the element's value for the purposes of form
   submission. The <code title="attr-button-value">value</code>
   attribute must not be present unless the <code
   title="attr-fae-form">form</code> attribute is present. The
   element's <span title="concept-fe-value">value</span> is the value
   of the element's <code title="attr-button-value">value</code>
   attribute, if there is one, or the empty string otherwise.</p>
+  <p class="note">A button (and its value) is only included in the
+  form submission if the button itself was used to initiate the form
+  submission.</p>
   <p>The <dfn title="dom-button-value"><code>value</code></dfn> and
   <dfn title="dom-button-type"><code>type</code></dfn> DOM attributes
   must <span>reflect</span> the respective content attributes of the
   same name.</p>
   <p>The <code title="dom-cva-willValidate">willValidate</code>, <code
   title="dom-cva-validity">validity</code>, and <code
   attributes, and the <code
   title="dom-cva-checkValidatity">checkValidity()</code> and <code