Write validation functions and modify the onSubmit event Handler in the form code to validate the following form fields: