Question: 1 ) Open the starter application ( zipped ) attached to this Assignment folder: a ) Evaluations Assignments Assignment 1 reservation .
Open the starter applicationzipped attached to this Assignment folder: a EvaluationsAssignmentsAssignment reservationzip b Then, run the application and click the Submit Request button to see the page thats displayed when the form is submitted to the server. In the JavaScript file, note that the ready event handler contains the declaration for a constant named emailPattern that contains the pattern that will be used to validate the email address. Code a statement that moves the focus to the Pickup Date text box. Code an event handler for the submit event of the form. This event handler should validate the user entries. If any of the entries are invalid, the code should cancel the submission of the form. The validation is as follows: a A value must be entered into each text box. b The number of days must be numeric. c The email address must match the pattern thats provided. d Be sure to trim the entries and put them back into the controls regardless of whether the entries are valid. In index.html change the text in the tag to your name and student number. Test and submit to the Assignment folder when completed.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
