Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The ‘Contains’ formula is used to check if a particular option was selected in a checkbox question type. In CMS (platform v1), the way to do that is to write something like this: [checkboxq(value)] == 1. This has been changed up in V2. The new formula to check if a checkbox contains a specific value is:

containsContains([questionName], 2)

This formula excepts two parameters:

  1. The variable/question name

  2. The value to check

Examples:

  • containsContains([CheckboxQ1], 3)
    The formula will get the last response(s) for the question “CheckboxQ1” and check if '3' was one of them.

...