Skip to content

Instantly share code, notes, and snippets.

Created Sep 1, 2011
What would you like to do?
HTML5 Web Forms, ASP.NET MVC and MvcContrib
<legend>Place Your Order</legend>
Name: <input type="text" class="field" id="orderName" required autofocus placeholder="ex. Hugo Reyes" />
Email: <input type="email" class="field" id="orderEmail" required placeholder="ex." />
Website: <input type="url" class="field" id="orderWebsite" placeholder="ex." />
Phone: <input type="tel" id="orderTelephone" class="field" pattern="\(\d\d\d\) \d\d\d\-\d\d\d\d" title="(xxx) xxx-xxxx" />
Requested Delivery Date: <input type="date" id="deliveryDate" class="field" required />
Shipping Address: <textarea rows="4" cols="20" id="orderShipping" class="field" required></textarea>
Quantity: <input type="number" id="orderQty" name="orderQty" min=1 max=10 step=1 value=1 />
<input type="submit" value="Place Order" />
<input type="submit" formnovalidate value="Save for Later" id="saveForLater" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment