Conditional visibility and validation messages
Original learning guide · Pega ’25 path · Content v1.0.0
Learning objectives
- Explain conditional visibility and validation messages in the context of a loan application.
- Identify the configuration decisions and test an expected outcome.
- Recognize a common mistake before it affects users.
Understand the concept
Conditional behavior can simplify a form by showing relevant fields. Validation messages explain how to correct input. Ensure conditions do not create a situation where an invisible required field prevents progress.
Constellation organizes user experiences around views, fields, templates and supported patterns. Build views from the data and tasks a persona needs. Use conditional behavior for relevant information, and provide clear validation messages close to the affected field. Accessibility includes meaningful labels, keyboard operation and errors that do not rely on color alone.
Show employer name for employed applicants. Test switching employment status after entering data and decide what should happen to the now-irrelevant value.
A configuration example
Create an applicant-details view with contact and income field groups. Display employer information only when employment status makes it relevant. Explain validation in user language, such as “Enter an amount greater than zero.”
Application: Loan Origination Case type: Loan Request Learning focus: Conditional visibility and validation messages Given: a known applicant and a documented policy When: the configured step or rule executes Then: compare actual data and routing with the expected outcome
Conceptual configuration plan, not an importable Pega rule. Labels and tools vary by release. Use the official mission environment to inspect current screens.
Try it yourself
Show employer name for employed applicants. Test switching employment status after entering data and decide what should happen to the now-irrelevant value.
Design a compact intake form. Tab through the fields in a logical order. Check required fields and conditional sections. Test the same task at a mobile width and with longer translated labels.
For this lesson, focus your notes on conditional visibility and validation messages. Record the inputs, configuration choice, observed result and one alternative that you rejected.
Common mistake
Knowledge check
Should conditional visibility be used as the only control for sensitive information?
Check your understanding
No. Visibility controls presentation. Authorization controls whether a user is allowed to access data or perform an action.
Go deeper with official resources
Pega Academy System Architect mission
Official ’25 certification objectives
