• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Recipe 5. Survey Builder > Administrator Recipe: Add Survey Questions

Administrator Recipe: Add Survey Questions

Now that we can add surveys, we need a way to add questions for each survey. Survey questions come in many different formats and our survey builder offers six different types: text question and answer, essay, multiple choice with one answer chosen from an option button group, multiple choice with one answer chosen from a drop-down list, multiple choice with multiple answers chosen from checkboxes, and true/false.

Each of these question types is input in the same fashion: The question is entered into a text field and the possible answers are entered into a text area field. When a question type offers multiple options for an answer, each option is placed on a separate line in the text area field. Server-side coding, covered later in this chapter, converts the text area field answer into the proper type—whether drop-down list, radio button group, or whatever—when the survey is presented to the user.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint