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

Recipe 5. Survey Builder > End User Recipe: Taking the Survey

End User Recipe: Taking the Survey

So far, we’ve concentrated on the administrative side of the survey: initial setup of survey and questions and their subsequent managing and editing. It’s time to turn our attention to what the user sees—and we’ll start with the survey. Because the individual elements of the survey—that is, the questions and possible answers—are stored in a data source, the job of the survey page is twofold. First, the application must reconstruct the survey in a single page and handle each of the different question types as it does so. Second, the application must record all the answers chosen by the survey taker as responses to the survey.

The second requirement—storing the responses—is fairly straightforward and can be handled by the standard Insert Record server behavior. The first requirement—presenting the survey—is more complex and requires a slightly different coding approach for each question type. For those of you following the recipe, all the needed code snippets are provided.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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