| 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" selected>three</option> |
| 10 | </select> |
| 11 | |
| 12 | <select name="sel2" multiple required> |
| 13 | <option value="4" selected>four</option> |
| 14 | <option value="5">five</option> |
| 15 | <option value="6" selected>six</option> |
| 16 | </select> |
| 17 | |
| 18 | <input type="checkbox" name="chk" value="subscribe-mail" checked required> |
| 19 | <input type="checkbox" name="chk" value="subscribe-phone" required> |
| 20 | |
| 21 | <input type="radio" name="contact" value="call" required checked> |
| 22 | <input type="radio" name="contact" value="phone" required> |
| 23 | |
| 24 | <input type="email" name="email" required> |
| 25 | <input type="text" name="firstName" value="Something" pattern="[A-Z][a-z]+"> |
| 26 | <input type="text" name="lastName"> |
| 27 | |
| 28 | <input type="number" name="age"> |
| 29 | |
| 30 | <input type="file" name="profile"> |
| 31 | |
| 32 | <textarea name="post">Big Text</textarea> |
| 33 | |
| 34 | <input type="hidden" name="csrf" value="1234"> |
| 35 | |
| 36 | <button type="submit" name="action" value="Save 1">Save</button> |
| 37 | <input type="submit" name="action" value="Save 2"> |
| 38 | </form> |
| 39 | |
| 40 | </body> |
| 41 | </html> |