This content describes Snap 11. For Snap 10, the equivalent page will be in Snap 10 help
Creating a decorated patterns to automatically include characters in paper questionnaires
You can use a decorated pattern to insert fixed characters into a variable of known length. This would be used for printing dividers between date elements on a paper questionnaire, for example, before scanning.
You can only use a decorated pattern if the data pattern is of fixed length, and the fixed, printable characters always appear in the same place within the variable.
This example shows how to create a date in the format the DD/MM/YYYY. The respondent must enter two day characters, two month characters and four year characters. The slashes will be pre-written into the boxes.
- Select to open the Patterns dialog.
- Select in the Patterns dialog to display the dialog.
- Type a name in the box. For example dec_ DD/MM/YYYY so that its format can be identified easily by others using it.
- Enter a giving more information. This will be displayed when the pattern is selected on the front page of the Patterns dialog.
- Select the response type that the pattern will be used with from the drop-down list (e.g. ).
- Check the box.

- Click the button to specify what the pattern consists of.
- The dialog displays.
- Scroll to in the list on the right and double-click it to add it to the definition.
- Double-click again, to give two digits for the day and then type .

- Add two digits and a for the month and then add four digits for the year.
- Click to save the match.

The match is added to the pattern definition.
- Click to save the pattern.
- Click to close the dialog.