Lab 11 - JS Form Validation

This lab will count as 5 pts extra credit towards Project 2

For this lab you will write a form validation function that will validate that all fields of the form are given. Display to the user an error message about missing fields or invalid entries and a red asterisk next to the corresponding input field. Otherwise, access the document's wrapper's innerHTML and display "Thank You". Use the given example as a starting point and complete the 'validateForm' function.

Examples wk11