Required field validations are not working
"Required" validation does not fire when a decimal property has edit input on its property definition.
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.
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.
This issue is resolved by HFix-23044.
100% found this useful