Skip to main content


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

Making a question required in a questionnaire

Updated on May 11, 2022

Make a question required to ensure that your questionnaire collects complete information. For example, in a questionnaire about the service at a hotel, if a customer rates service as poor, then a field for additional comments is required.

  1. Navigate to the questionnaire:
    ChoicesActions
    Open the questionnaire in App Studio
    1. In the navigation pane of App Studio, click Case types.
    2. In the list of case types, open a case type of the Questionnaire type that you want to edit.
    Open the questionnaire in Dev Studio
    1. In the header of Dev Studio, click ConfigureCase ManagementQuestionnaire.
    2. Click the questionnaire that you want to edit.
  2. Click the question that you want to make required.
  3. In the Question settings pane, in the Required when conditions section, click the Properties icon.
  4. In the Conditions 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.
    For example: To make the question required for VIP customers, create the condition CustomerStatus equals to VIP.
  5. Optional: To add more conditions, click Add a row.
  6. If you create multiple conditions, define whether a question needs to meet all or any conditions by selecting either and or or between the rows.
  7. Click OK.
Result: At run time, if the when conditions evaluate to true, the question is required to submit the questionnaire.

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