LinkedIn
Copied!

Table of Contents

Displaying a warning in a questionnaire

Version:

Only available versions of this content are shown in the dropdown

Use a warning message to encourage questionnaire participants to provide complete answers. For example, if a user enters their birth date in the future, your application displays a reminder that the date must be in the past and be consistent with the customer being an adult.

  1. In the header of Dev Studio, click Configure Case Management Questionnaire .

  2. On the Questions tab, click a question that you want to edit.

  3. Expand the Warnings section.

  4. Define the conditions that control when your application displays the warning.

    Choices Actions
    Use a Boolean expression
    Use this approach when users complete your questionnaire offline.
    1. In the Visibility list, select Condition (expression).

    2. In the Warning expression field, enter a string expression that evaluates property values in the questionnaire.

    Use a when condition
    Use this approach when users complete your questionnaire online.
    1. In the Visibility list, select Condition (when rule).

    2. In the Warning when field, enter the name of a when condition that evaluates property values in the questionnaire.

    Build a custom condition that can be a combination of when conditions and Boolean expressions
    1. In the Visibility list, select Condition (expression).

    2. Click the Open condition builder icon.

    3. In the Visible when dialog box, create a condition by providing a value to compare at run time, a comparator, and a value to compare against the first value.

      To show the warning only to users who have a Gold or Platinum account, create a condition AccountType is in list "Gold", "Platinum".
    4. Optional:

      To use two conditions, define whether a question needs to meet both or any of the conditions by selecting either and or or between the rows.

    5. Click Save.

  5. In the Warning message field, enter the name of a rule that contains a warning message.

    For more information, see Messages.
  6. Click Save.

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.