Using the LABEL tag, WhizQuiz© authors can obtain user-specific information and/or demographic information (Fig. 5.1). Possible information that a quiz author might want to obtain includes: Name, ID number, Major, Year in School, Birth Date, Gender, Ethnicity, Address, Testing Location, E-mail Address, Course Section number, Favorite Color, etc. LABEL tags also play a very important part in the WhizQuiz Class Roll authentication feature. See the Class Roll documentation (Section 8) for how to use that feature.
There are different types of labels and different ways of controlling them (be sure to read the description of the LABEL tag). For information like Address, Testing Location, or E-mail Address, a TEXT label should be used. Optionally, you may set an appropriate LENGTH for the form field set so that the entry field is sized appropriately (maximum of 50 spaces). All characters are valid in text fields, but WhizQuiz© will convert commas into spaces.
NAME is a special type of TEXT label used to define the quiz-taker's name for a personalized response on the Results page. Thus, there can only be one NAME label. If you desire to place first and last name in separate fields, use the NAME label for the first name and use a TEXT label for the last name. Be sure to include the appropriate label names and prompts. Be sure to set an appropriate LENGTH for the form field.
For numeric information such as: identification numbers, phone numbers, and birth dates, a number (NUM) label should be used. There are special attributes for a number label. The number field removes all non-numeric characters when the input is entered into the log. This means that the dashes would be removed from Social Security numbers, parentheses and dashes from phone numbers, and dashes or slashes from dates. To aid the quiz-taker, however, you may want them to enter those kinds of information in their standard form. Suppose you want you quiz-taker to enter their phone number in the standard form (123)456-7890. First, you should include in the PROMPT the proper format. Next, set the LENGTH attribute to 13. Finally, set the ABSLENGTH attribute to 10. This requires the quiz-taker to enter 10 numeric characters, no more, no less, but allows the entry of other characters (parentheses and hyphens, etc.).
For information that the quiz-taker could choose from a list of options, use a multiple-choice (POPUP) label. This type of label would be appropriate for information like Major, Year in School, Gender, Ethnicity, Course Section number. This type of label limits the quiz-taker's choice to a consistent set and prevent mis-typing. Remember to use the CHOICE attribute to enter a comma-delimited set of choices. By default a popup button will read "(click here)" to encourage the quiz-taker to look at the options. You may specify the that prompt through the POPUPDEFAULTTEXT attribute.
TOC - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10
WhizQuiz© v.2.0
Developed at ISIS,
Virginia Tech
Send comments to the Developers
Copyright © 1996-1999, Virginia Tech, All Rights Reserved.