Support Article
Required field validations are not working
SA-12168
Summary
"Required" validation does not fire when a decimal property has edit input on its property definition.
Error Messages
Not Applicable.
Steps to Reproduce
1. Create a decimal property.
2. Refer an edit input rule in the property advanced tab.
3. Include the decimal property in a section and mark it as required.
4. During runtime, the required validation does not fire and the for submits although no value is entered.
Root Cause
The root cause of this problem is a defect in Pegasystems’ code/rules.
Issue is because of the bug in pzAddClientValidation Rule-Utility-Function.
Mark up is being generated without a comma between decimal and required, in the validationtype attribute on the field when there is an edit input associated.
The validationtype attribute is generated as validationtype="decimalrequired" instead of validattiontype="decimal,required" which is causing this issue.

Resolution
This issue is resolved by HFix-23044.
Published February 17, 2016 - 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.