Snap XMP Help

Using a response property to create a character counter

You are here:
< All Topics

Often, a questionnaire contains questions that invite the participant to enter comments. In an online questionnaire, these questions have a maximum number of characters that can be entered. You can create a character counter to let participants keep track of the comment length.

You can choose whether the character counter displays:

  • the number of characters remaining
  • the total number of characters available
  • the number of characters they have used.

In Snap Desktop, the character count is added as a Response property. This feature is only available for Open Ended questions.

Adding a character counter

  1. Open the survey in the Questionnaire window. Make sure that you are in Design mode DesignModeIcon.png and that the toolbar topic is set to Font.
  2. Place the cursor at the point where you wish to insert the character counter. In the example, the character count is added to the footnote of the Open Ended question.
Footnote used for the character counter
  1. Click Insert and select Response Property from the menu. This opens the New embedded response property dialog.
Inserting a character count into the questionnaire
  1. In Property, select the counter type.
    • Response Count shows the number of characters that the participant has entered
    • Characters Left shows the number of characters remaining in the response. This is the default.
    • Max Count shows the maximum number of characters allowed in the response
  2. Click OK. The counter type is displayed in curly brackets; {count}, {left} or {max}, to show that it is a text-substituted field.
Footnote with character counter inserted
  1. When the participant answers the question they will see the character count change as they enter their comments.
Interview question using a character counter

The maximum length of a response or the size of a response is set in the Variable properties of the question. By default the maximum length is 9999 characters.