Remove Required Property Error Message from UI Header

How can I remove the error headers that appear at the top of each layout group (Picture below)?

The properties are set to always required, which is necessary, however the error header which is duplicated eats up UI space.

I’ve tried toggling the “Keep error display visible” check box in the harness but this has no effect on the headers below.

@JoshuaP82 Hi, did u tried using pyCaseErrorSection and a when rule Never

Thanks

@AkshithReddyT Hi Akshith, thanks for your reply. I’ve just tried saving as @baseclass.pyCaseErrorSection with the visibility expression set to false, but this hasn’t removed the error message from UI. Do you know if @baseclass.pyCaseErrorSection is the correct rule version to change? When you say: “a when rule Never” do you mean changing the changing the visibility condition to prevent the section displaying?

@JoshuaP82Yes, anything with respect to error uses pyCaseErrorSection. So, a when rule Never to prevent displaying.

@AkshithReddyT I’ve tried the when Never approach on pyCaseErrorSection but this hasn’t work. I don’t think this is the section being displayed in the error message. In browser inspector the error message has the class tag: “errorText error-table”, is there another section that might relate to this tag.

I’ve resolved this issue using a css script please review here: https://support.pega.com/question/pega-v822-text-error-displayed-along-field-level-error-layout-group

Thanks for sharing your resolution and marking it as such @JoshuaP82!