Your team works at a local car dealership and has been


Project Specifications

Your team works at a local car dealership and has been asked to create a web page using PHP for validation that will allow customers to make a car service appointment and pre-pay for the type of service(s) selected.

The web page must prompt for the following information about the customer:

  • Name
  • Address (Street, City, State, Zip)
  • Phone number
  • Email address
  • Credit Card Information (Card Type, Card Number, Expiration Date, Security Code)
  • Date and Time of appointment
  • At least five (5) service options with a price listed for each. Multiple options can be selected. At least one must be selected.

All fields are required and must be validated through a PHP form processing program. In addition, the following rules must be applied when validating the form input:

  • The name must be at least three (3) characters long.
  • The address must have a valid US state and the zip must be five digits long.
  • The phone must have ten (10) digits.
  • The email address must have the @ symbol and must be at least five (5) characters long.
  • Cater for Visa, Mastercard and American Express credit card types. Use the following rules for credit card number validation:
    • Visa card numbers always begin with the numeral 4 and use 16 digits.
    • MasterCard numbers always begin with the numeral 5 and use 16 digits.
    • American Express card numbers always begin with the numeral 3 and use 15 digits.
  • The dealership accepts appointments Mondays thru Fridays (closed Saturdays and Sundays) from 9am to 5pm on the hour and half hour. The dealership is closed for the following holidays:
    • New Years Day
    • MLK Day
    • Memorial Day
    • July 4th
    • Labor Day
    • Halloween
    • Veterans Day
    • Christmas Day
  • If the form user enters any invalid data, the user should be informed of which data is incorrect and hints for correcting the data should be provided.
  • Note: The  tag must contain the novalidate attribute.

Once the form has been validated with no errors, the customer should be shown an appointment confirmation with all the information that was entered into the form and the amount their credit card was charged with.

Solution Preview :

Prepared by a verified Expert
Business Economics: Your team works at a local car dealership and has been
Reference No:- TGS02222863

Now Priced at $30 (50% Discount)

Recommended (91%)

Rated (4.3/5)