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

@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.

:warning: This is a GenAI-powered tool. All generated answers require validation against the provided references.

:full_moon: How to apply red border for container on required checkbox validation
:full_moon: Pega V8.2.2 - Text as ‘Error’ is displayed along with field-level error in layout group
:full_moon: In layout group is there a way to Show the actual errors instead of showing “error” on top of all tabs

@MarijeSchillern

Thanks Will try this solutions.