3.2. Setting up a pattern for scanning a code
This section describes how to create a pattern to use for scanning validation for Q5 “What is your room number?”. You can tell Snap that the response will consist of two letters and three numbers and a possible separator, such as a space or point. Snap then knows that a hand-written character that could either be a 2 or a Z will be read as a Z in the first part and a two in the second part.
- Select to open the window which lists all existing patterns.
- Click to create a new pattern for the room number. This opens the Pattern Properties dialog.

- Type "room number" in the box.
- Enter a giving more information. This will be displayed when the pattern is selected on the front page of the dialog.
- Leave the response type as in the drop-down list.
- Click at the bottom to define your pattern.
The pattern that you wish to match is two letters and three digits. If you are sure that everyone will enter it correctly, you can set that up as the requirement.
- Double-click in the right-hand pane. The word {letter} appears in the field

- Click to open the dialog.
- Select and enter then click.

- Double-click in the right-hand pane and set the repeat to be exactly .
- Click twice to return to the dialog.
- Click again. Your new pattern appears in the list of available patterns. Click .
- Confirm the window for your survey is open.
- Highlight the question “What is your room number?” in the window.
- Click on
in the Questionnaire window toolbar to display the dialog. - Scroll to display and change it to your new pattern.
- Select as the form of for the scanner to check its readings based on your new pattern.
