Skip to main content

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.
Suggest Edit

Published February 17, 2016 - Updated October 8, 2020

Did you find this content helpful?

100% found this useful

Have a question? Get answers now.

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

Ready to crush complexity?

Experience the benefits of Pega Community when you log in.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us