joshaallen / WDV341-PHP-FORM-PROCESSOR

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unit-5 PHP Form Processing- Two Part

5-1:HTML Form Processor

Use the WDV101-DemonstrateInputForm example code for this assignment.

Modify the Example Form to add the following fields:

  • Customer Email - consider using the type=email value
  • A set of radio buttons for current academic standing with appropriate values:
    • High School
    • Freshman
    • Sophomore
  • A drop down list containing the following options: Use their acronym for the value attribute
    • Default option
    • Computer Information Systems
    • Graphic Design
    • Web Development
  • Two checkboxes with appropriate value attributes:
    • Please contact me with program information
    • I would like to contact an program advisor
  • A textarea for 'Comments'

Modify the DemonstrateFormHandler.php to display the fields in the following format as stand alone fields on the confirmation page:

Dear firstName,

Thank for you for your interest in DMACC.

We have you listed as an academicStanding starting this fall.

You have declared selectedMajor as your major.

Based upon your responses we will provide the following information in our confirmation email to you at emailAddress.

checkbox

checkbox

You have shared the following comments which we will review:

comments

NOTE: You are welcome and encouraged to format and style the page as you wish.

About


Languages

Language:HTML 52.6%Language:SCSS 25.8%Language:PHP 21.7%