Question
Patient advocate foundation
Patient advocate foundation
IN
Patient advocate foundation
Posted: Aug 6, 2024
Last activity: Aug 30, 2024
Last activity: 30 Aug 2024 2:50 EDT
Closed
Solved
How to add error symbol for collapse/expand layout
Hi
Requirement is to show error symbol in Collapse/expand layout when having error.
How can we achieve ?
Thanks,
Ajay
***Edited by Moderator Marije to change type from Pega Academy to Product***
To see attachments, please log in.
@AJAYR16863281 To show an error symbol in a collapse/expand layout when there is an error, you can follow these steps:
1. Use a Custom CSS: Add a custom CSS class to display the error symbol.
2. Modify the Layout: Ensure the layout includes a placeholder for the error symbol.
3. Conditional Display: Use a condition to display the error symbol based on the presence of an error.
For example, you can add a CSS class to highlight the layout border in red when there is an error. You can also include an icon or text to indicate the error.
In your section rule, you can conditionally apply these classes based on the error state of the fields within the layout.
This approach ensures that the error symbol is visible when the layout is collapsed or expanded.
@AJAYR16863281 To show an error symbol in a collapse/expand layout when there is an error, you can follow these steps:
1. Use a Custom CSS: Add a custom CSS class to display the error symbol.
2. Modify the Layout: Ensure the layout includes a placeholder for the error symbol.
3. Conditional Display: Use a condition to display the error symbol based on the presence of an error.
For example, you can add a CSS class to highlight the layout border in red when there is an error. You can also include an icon or text to indicate the error.
In your section rule, you can conditionally apply these classes based on the error state of the fields within the layout.
This approach ensures that the error symbol is visible when the layout is collapsed or expanded.
⚠ This is a GenAI-powered tool. All generated answers require validation against the provided references.
🌕 How to apply red border for container on required checkbox validation
🌕 Pega V8.2.2 - Text as 'Error' is displayed along with field-level error in layout group
🌕 In layout group is there a way to Show the actual errors instead of showing "error" on top of all tabs