validate the fields in the form here: Assignment Template (this is also the lecture template)
Tools you will need
- addEvent function (included in the template)
- Lecture 6
- Link to the web150 library
- Quirksmode forms lesson
Add an additional elements to this page so that it does something else or handles the form in another interesting way.
- Can you stack up the errors and print them all out in 1 alert?
- How else might you loop through the elements in the form?
Publish this page on your Assignments Page by next week’s lecture