Skip to main content


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

Defining the behavior of a control

Updated on December 13, 2022
Applicable to Theme Cosmos applications

Ensure that users see and complete only the fields that are relevant to their work by defining the rules that govern the behavior of controls.

For example, you can specify to hide controls that are unnecessary, mark a control as required to make sure that users fill it in, or disable a control in a situation when you want to limit the user's choices.

  1. Open the view that you want to edit.
    For more information, see Accessing views in your application.
  2. In the configuration pane on the right side of the window, hover over the control, and then click the Edit icon.
  3. In the Visibility list, define the visibility of the control.
  4. Optional: To display a blank area in the section when a control is hidden, select the Reserve space when hidden checkbox.
    The checkbox appears when you select any visibility option other than Always. Reserving space for a control prevents the UI elements on the screen from repositioning when the visible content is displayed.
  5. In the Disable list, specify when the control is not available to users.
  6. In the Required list, specify whether the control is required.
  7. Optional: To specify the availability of the control at run time for different access groups, in the Privilege list, select the privilege rule that defines which groups can interact with the control.
  8. If you set a privilege, in the When not met field, define how the application behaves when the user does not have appropriate privileges.
  9. Click Apply.

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