Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1 ) Open the starter application ( zipped ) attached to this Assignment folder: a ) Evaluations Assignments Assignment 1 reservation .

1) Open the starter application(zipped) attached to this Assignment folder: a) Evaluations\Assignments\Assignment 1\reservation.zip 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. 2) 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. 3) Code a statement that moves the focus to the Pickup Date text box. 4) 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. 5) In index.html, change the text in the tag to your name and student number. 6) Test and submit to the Assignment folder when completed.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts

Authors: David M Kroenke, David J Auer

6th Edition

0132742926, 978-0132742924

More Books

Students also viewed these Databases questions

Question

What are the stages of project management? Write it in items.

Answered: 1 week ago

Question

why do consumers often fail to seek out higher yields on deposits ?

Answered: 1 week ago

Question

1. Explain how technology has changed the learning environment.

Answered: 1 week ago