| 1 | <!DOCTYPE html> |
| 2 | <html> |
| 3 | <body> |
| 4 | <form id="multipart" method="post" enctype="multipart/form-data" action="/submit"> |
| 5 | |
| 6 | <select name="sel1"> |
| 7 | <option value="1">one</option> |
| 8 | <option value="2">two</option> |
| 9 | <option value="3">three</option> |
| 10 | </select> |
| 11 | |
| 12 | <select name="sel2" multiple required> |
| 13 | <option value="4">four</option> |
| 14 | <option value="5">five</option> |
| 15 | <option value="6">six</option> |
| 16 | </select> |
| 17 | |
| 18 | <input type="checkbox" name="chk" value="subscribe-mail" required> |
| 19 | <input type="checkbox" name="chk" value="subscribe-phone" required> |
| 20 | |
| 21 | <input type="radio" name="contact" value="call" required> |
| 22 | <input type="radio" name="contact" value="phone" required> |
| 23 | |
| 24 | <input type="email" name="email" required> |
| 25 | <input type="text" name="firstName" pattern="[A-Z][a-z]+" required> |
| 26 | <input type="text" name="lastName" required> |
| 27 | |
| 28 | <input type="number" name="age" min="18" max="99" required> |
| 29 | |
| 30 | <input type="text" name="captcha" maxlength="5" required> |
| 31 | |
| 32 | <input type="url" name="website" required> |
| 33 | <input type="date" name="someDate" required> |
| 34 | |
| 35 | <input type="other-type" name="other" required> |
| 36 | |
| 37 | <input type="file" name="profile" required> |
| 38 | |
| 39 | <textarea name="post">Big Text</textarea> |
| 40 | |
| 41 | <input type="hidden" name="csrf" value="1234"> |
| 42 | |
| 43 | <button type="submit" name="action" value="Save 1">Save</button> |
| 44 | <input type="submit" name="action" value="Save 2"> |
| 45 | </form> |
| 46 | |
| 47 | </body> |
| 48 | </html> |