Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

This content has been archived and is no longer being updated.

Links may not function; however, this content may be relevant to outdated versions of the product.

Validating answers in a survey

Updated on April 5, 2022

Display an error message in your survey when an answer is invalid, to ensure that the information that users provide is accurate and in an expected format.

  1. In the header of Dev Studio, click ConfigureCase ManagementSurvey.
  2. Click the name of a survey.
  3. Click a question so that it has focus.
  4. In the Validations section, click the Gear icon.
  5. Define the validation conditions.
    1. In the Message field, enter text for an error message.
    2. In the Field list, select a question in your survey.
    3. In the Value field, enter a value that is the same format as the expected answer to the question.

      For example, you can enter a positive integer in this field when the answer represents years of experience.

      Tip: For more guidance which values you can evaluate in the condition, click Select values.
    4. In the Comparator list, select an operation that compares the answer to the value that you provide.

      For example, you can verify that the user provides a phone number for each name on the emergency contact question page.

    5. Click OK.
  6. Click Save survey.

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us