Day 4: Question Types
Previous Topic  Next Topic 

In the last lesson we asked you to create some SECTIONS in your survey and to see how these were displayed on the SIMULATOR. If you have not done that, go back and do it now before continuing with this lesson.


This lesson will show you how to use other common QUESTION TYPES such as MENU, TICKLIST, NUMBER and MESSAGE.


Note

Question types fit into three main categories: normal data input (TEXT, MENU, TICKLIST, NUMBER, FORMATTED, TIME), programming (CALCULATION, JUMP, MESSAGE) and special input (BARCODE, CAMERA, SKETCH, GPS).


Now do the following.


    1. Use the skeleton survey created in the last lesson. I want you to put each question type described in this lesson into each of the three sections created in the last lesson. Because a QUESTION PROMPT can only be defined once, you will need to use unique QUESTION PROMPTS. For example when we add a MENU question call it "Menu 1" in SECTION 1 and "Menu 2" in SECTION 2 and so on.


    1. Enter SECTION 1 by double clicking on the section name in the QUESTIONS AREA. We are now going to insert a MENU question at the diamond.


    1. Click the EDIT BUTTON on the MAIN TOOLBAR to open the QUESTION DEFINITION DIALOG, if it is not already being displayed. On the line of TABS choose the one with the label of 'menu'. Type in "Menu 1" in the QUESTION PROMPT area and select "single item" as the DATA DESTINATION FILE. Now in the input area labelled CHOICE, type in "Red", click ADD, type in "Green", click ADD, type in "Blue", click ADD. You have now set up a MENU of three CHOICES. Now click the INSERT button to add the question to your survey.


    1. Repeat the step above to add a MENU question to SECTION 2 and then SECTION 3. If you want to be adventurous you could try COPYING the question and pasting it into the other sections. When you have finished, use the PARENT button to return to the MAIN SECTION


    1. Enter SECTION 1 again. We are now going to insert a TICKLIST question at the diamond. A TICKLIST is similar to a MENU but it allows the END-USER to choose more then one answer... it is a MULTIPLE CHOICE question.


    1. On the line of TABS in the QUESTION DEFINITION DIALOG choose the one with the label 'ticklist'. Type "Ticklist 1" in the QUESTION PROMPT area and select "single item" as the DATA DESTINATION FILE. Now in the input area labelled CHOICE, click DELETE ALL to clear the previously remembered choices, then add three choices of "Apples", "Oranges" and "Pears" as you did in step 3 above. Notice that with a TICKLIST you can also specify the minimum and maximum number of choices the END-USER is allowed to select. Finally click the INSERT button to add the question to your survey.


    1. Repeat the step above to add a similar TICKLIST question to SECTION 2 and also in SECTION 3.


    1. Enter SECTION 1, position at the diamond and select the NUMBER TAB in the QUESTION DEFINITION DIALOG. Enter a question PROMPT of "Number 2" and set the DATA DESTINATION FILE to what you think it should be.


    1. With a NUMBER question you can set a number of parameters. You can choose to display the number as a simple input (NONE), a SPIN BUTTON or a TRACKBAR. You can enforce an OPTIONAL or OBLIGATORY SIZE CHECK. You can specify how many digits to use BEFORE and AFTER the decimal point. The best thing to do is to experiment setting up different combinations of these parameters.


    1. Repeat the step above to add a NUMBER question to SECTION 2 and then SECTION 3.


    1. Finally position at the diamond in the MAIN SECTION, choose the question type of MESSAGE, give it a question prompt of "Message" and in the input area labelled TEXT TO DISPLAY type in "Survey Complete". Set the DATA DESTINATION FILE to "none" because we do not want to save anything to the data file for this type of question. Click INSERT to add this final question.


    1. Now RUN your survey to see how the different question types are displayed in the SIMULATOR. Click RECEIVE and view your survey results using the DATA DOCTOR.


The next lesson will explore the CALCULATION question and introduce the CONCEPT of question VARIABLES.


Final Tip

If you get a question wrong simply select the question with the mouse, make any changes in the QUESTION DEFINITION DIALOG and click MODIFY.

A good step-by-step method to follow when creating or modifying questions is outlined below.

1. Position the mouse cursor at the desired point in the QUESTIONS AREA.

2. Choose the TYPE of question.

3. Type in a question PROMPT.

4. Choose a DATA DESTINATION FILE.

5. Set up the other parameters for the question.

6. Click INSERT or MODIFY.


HandHeld Systems Ltd ©