This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 26960 - controls<form method="post"
Summary: controls<form method="post"
Status: RESOLVED INVALID
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL: https://html.spec.whatwg.org/#client-...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-03 05:47 UTC by contributor
Modified: 2014-10-03 21:48 UTC (History)
2 users (show)

See Also:


Attachments

Description contributor 2014-10-03 05:47:05 UTC
Specification: https://html.spec.whatwg.org/multipage/forms.html
Multipage: https://html.spec.whatwg.org/multipage/#client-side-form-validation
Complete: https://html.spec.whatwg.org/#client-side-form-validation
Referrer: https://html.spec.whatwg.org/multipage/

Comment:
controls<form method="post"
      enctype="application/x-www-form-urlencoded"
      action="https://pizza.example.com/order.cgi">
 <p><label>Customer name: <input name="custname" required></label></p>
 <p><label>Telephone: <input type=tel name="custtel"></label></p>
 <p><label>E-mail address: <input type=email name="custemail"></label></p>
 <fieldset>
  <legend> Pizza Size </legend>
  <p><label> <input type=radio name=size required value="small"> Small
</label></p>
  <p><label> <input type=radio name=size required value="medium"> Medium
</label></p>
  <p><label> <input type=radio name=size required value="large"> Large
</label></p>
 </fieldset>
 <fieldset>
  <legend> Pizza Toppings </legend>
  <p><label> <input type=checkbox name="topping" value="bacon"> Bacon
</label></p>
  <p><label> <input type=checkbox name="topping" value="cheese"> Extra Cheese
</label></p>
  <p><label> <input type=checkbox name="topping" value="onion"> Onion
</label></p>
  <p><label> <input type=checkbox name="topping" value="mushroom"> Mushroom
</label></p>
 </fieldset>
 <p><label>Preferred delivery time: <input type=time min="11:00" max="21:00"
step="900" name="delivery" required></label></p>
 <p><label>Delivery instructions: <textarea name="comments"
maxlength=1000></textarea></label></p>
 <p><button>Submit order</button></p>
</form>

Posted from: 85.101.53.166
User agent: Mozilla/5.0 (Windows NT 6.1; rv:32.0) Gecko/20100101 Firefox/32.0