property error message hides page error message

property error message hides page error message

When a section is submitted, in post processing part, a data transform do validation.

Some errors added to a property by pxAddMessageToProperty

Some other errors added to page by @pxAddMessageToPage

I found if any property error msg, the page error msg will be hidden.

Only when property error is corrected and resubmit, page error msg can be seen.

May I know why? How can I see both type of error msg?

@MaxonL16591286 Have you checked to see if you can access our MSP GenAI Buddy?

When using pxAddMessageToProperty, if there is an error message associated with a property, it can prevent the display of page-level error messages. This behavior occurs because the system prioritizes property-level errors over page-level errors, meaning that the presence of a property error will suppress the visibility of any page errors until the property error is resolved. To see both types of error messages, you may need to ensure that the property error is cleared or handled appropriately before attempting to display the page error messages. One approach could be to use a data transform to manage the error messages effectively, ensuring that both property and page errors can be displayed as needed.