Skip to main content


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

Managing field validation in hidden sections

Updated on December 13, 2022

Define whether your users receive a warning when they leave a hidden required field empty. For example, if you use tabs, you might want to display validation errors for empty fields that are not currently active.

On the other hand, if you hide layouts or sections because you do not need them in a specific context, the best practice might be to turn off validation.
  1. In the navigation pane of Dev Studio, click Records.
  2. Expand the SysAdmin category, and then click Dynamic System Setting.
  3. Open the validateHiddenField setting.
  4. On the Settings tab, in the Value field, define the hidden field validation policy:
    • To validate fields even though they are hidden, enter true.
    • To stop the application from validating hidden fields, even if they are required, enter false.
    Note: The default value is true.

    If you keep the default and decide to validate fields even if they are hidden, you can exclude selected fields from validation by clearing the Run visibility condition on client checkbox for that field. The same principle applies to form fields hidden by conditional rules.

  5. Click Save.

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