Due Wednesday November 14 at 11:55pm
Do a form that behaves exactly like the form for Homework 3, but where the validation happens in-browser, using javascript, before the form is submitted. You can obtain this by attaching an event handler to the submit action of the form. The event handler should validate the fields (you will have to write your own javascript for this). If all validate, you should submit the form. If there is a validation error, you should have error messages appear next to the fields that failed validation, and you should let the user try again submitting.