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.