Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Explained on w3schools: <a href="http://www.w3schools.com/html5/html5_form_attributes.asp" rel="nofollow">http://www.w3schools.com/html5/html5_form_attributes.asp</a></p> <blockquote> <p>Form Override Attributes</p> <p>The form override attributes allow you to override some of the attributes set for the form element.</p> <p>The form override attributes are:</p> <p><strong>formaction - Overrides the form action attribute</strong> <br /> formenctype - Overrides the form enctype attribute <br /> formmethod - Overrides the form method attribute <br /> formnovalidate - Overrides the form novalidate attribute <br /> formtarget - Overrides the form target attribute <br /> <strong>Note: The form override attributes works with the following types:<br /> submit and image.</strong></p> </blockquote> <pre><code>&lt;form action="demo_form.asp" method="get" id="user_form"&gt; E-mail: &lt;input type="email" name="userid" /&gt;&lt;br /&gt; &lt;input type="submit" value="Submit" /&gt; &lt;br /&gt; &lt;input type="submit" formaction="demo_admin.asp" value="Submit as admin" /&gt; &lt;br /&gt; &lt;input type="submit" formnovalidate="true" value="Submit without validation" /&gt; &lt;br /&gt; &lt;/form&gt; </code></pre> <p>So yes, you are absolutely correct that it overrides the action, but it only overrides on input type submit and image, not on text. So you can have 2 different submitbuttons in the same form but can lead to different types of validaton. That's what I would use it for. </p> <p>So a <strong>#</strong> would put the action on the same page rather than another one.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload