Support Article

Error Message displayed is not meaningful

SA-13532

Summary



How to customize the error on Screen "Invalid value specified for PropertyName.Value doesnt adhere to the validate:ValidateRuleName"


Resolution

Whenever an input fails validation by an edit validate rule, the PropertyInfo-EditValidate rule is invoked. Customizing this, gives the same message, whenever an edit validate fails for all inputs. This is as per the product design.

As a workaround, one could simplify the error message within this message rule and add the required message via the edit validate rule itself, as mentioned in the below PDN article.

https://pdn.pega.com/user-interface/how-to-specify-error-message-text-within-the-java-code-of-an-edit-validate-rule

Suggest Edit

Published September 1, 2015 - Updated October 8, 2020

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.