Support Article
Client side validations are not working on integer fields
SA-6582
Summary
Client side validations are not working on integer fields.
After error on server side, the master section specified in prop panel is not drawn on client-side. So user cannot rectify the error.
Error Messages
After error on server side, the master section specified in prop panel is not drawn on client-side. So user cannot rectify the error.
Steps to Reproduce
1.Try to create a property type of integer and some client side validations
2.Try to edit the values with some invalid text. Observe that error message is coming.
3. click on Next without correcting the values.
Issue: Observe that section in which property is present is disappeared and error message is coming and also not allowing to preform any actions like go back or to edit the values.
Resolution
This issue is resolved through the following local change:
You have configured "IsPositiveInteger" edit validate rule in the property rule form. This is not a standard edit validate rule.
https://pdn.pega.com/sites/default/files/help_v71/procomhelpmain.htm#zstandardrules/rule-edit-validate.htm
Instead You can use "isNonNegativeInteger" edit validate rule if it matches your requirement.
you also can use isPosDecimal which has client support aswell
And the property type is integer
Published January 31, 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.