Snap XMP Help

Masking

You are here:
< All Topics
image_pdfimage_print

What is masking?

As part of your survey you may want to ask questions that follow on or rely on answers given in previous questions. Masking is used to pass on answers from a question that will provide information for use in subsequent questions.

Masking can make the questionnaire easier to answer by showing the respondent a shorter list of answers that are relevant to them.

Adding a Mask to questions is useful for:

  • unprompted questions that ask for a list of items followed by prompted questions that ask about those items
  • asking follow-on questions about items mentioned in a list
  • forcing a code within a list through the questionnaire whether or not it has been selected by the respondent
  • removing codes from subsequent ranking questions after they are selected by the respondent

In cases where only one answer is left then the question can be automatically answered. This reduces the length of the questionnaire for the respondent.

Adding a mask to your question

  1. Select the question that requires masking. Masking is available on Single Choice and Multiple Choice questions.
  2. In the Build side menu select the Validation and Masking side menu.
Build side menu with Validation and Masking highlighted
  1. Go to the Masking section.
Set a mask for the selected question
  1. Click in the Mask field to enter a mask expression for the question.
  2. You can use any logical expression.
Example MaskDescription
Q1Only display codes that have been selected in Q1
Not Q1Hide all codes selected in Q1
Q1 or Q2Display codes that have been selected in Q1 or Q2.
2~4This is a static mask that shows codes 2 to 4.

Masking Errors

If the Mask entered is invalid for the selected question then the field will be highlighted in red.

Red background showing a masking error

An error message will also be displayed.

Error message for invalid masking

Automatically answering a question

The Auto-answer feature can be set on questions with masking. When there is only one possible response to the question, it will be answered automatically and the questionnaire will move on to the next question.

  1. Select the question that you would like to be automatically answered.
  2. Select the Validation and Masking side menu.
  3. Go to the Masking section.
  4. Tick the Auto-answer field to turn auto-answer on for the selected question.
Set the auto-answer flag to allow the question to be automatically answered when there is only one possible answer
Contents