A Sample Web Form


The form shown in Figure 40.7 was created using the following steps in the Form Page Wizard:

  • A question was added with the input type contact information and the prompt "Who are you?".

  • Only two of the contact information questions were selected: Name and E-mail address.

  • A question was added with the input type number and the prompt "How many times have you been to the park?".

  • The question was given the variable name Visits .

  • A question was added with the input type one of many options and the prompt "What is your favorite attraction?".

  • Labels were provided for several attractions at the park, and the base variable name was set to FavoriteAttraction .

  • A question was added with the input type one of many options and the prompt "What is your favorite restaurant?".

  • Labels were provided for park restaurants , and the base variable name was set to FavoriteRestaurant .

  • The wizard was told that no more questions would be added.

  • The default presentation options were used: normal paragraphs and the use of tables to arrange questions and answers.

  • Results were saved to a text file named parksurvey.txt , and the wizard created the form on a new page.

Figure 40.7. A form that conducts a survey over the World Wide Web.

graphics/40fig07.gif



Sams Teach Yourself Office Productivity All in One
Sams Teach Yourself Office Productivity All in One (Sams Teach Yourself All in One)
ISBN: 0672325349
EAN: 2147483647
Year: 2003
Pages: 474
Authors: Greg Perry

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net