Assignment 3: Working with Forms

Create a survey form and save it as survey.html on your website. (Also add a link to it from your homepage.)

A. Use a two column table to position the questions on your form.

The left column should contain the "prompt" (right justified); the right column should contain the user input.

B. Ask the following questions (they require a YES or NO answer):

  1. Do you have a web site?
  2. Have you had it for more than 2 years?
  3. Did you create the site?
  4. Is this a personal or business web site?
Request the following information:
  1. Web Site Address
  2. What browsers do you use (check all that apply)?
  3. Email Address
  4. Login Name
  5. Password (Note: the password should not show when you type it in)
  6. Comments

C. Include a "submit" button at the bottom of your form. Centered across the bottom of your page, display "Designed by", followed by your name.

D. Have your form post to  http://webdesign.marknewsome.com/dreamweaver/printform.php

E. Bring up your form in a browser and fill it out. Click the submit button -- if it works, you should see a list of all the values you typed into the form.

Note: If you use a multiple-select list, be sure to append this suffix "[]" (square brackets) to the name. For example, the name of the multiple-select list for selecting your "favorites", should be renamed "favorites[]". This way each of the selections will display properly in the "printform" page.