Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

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

Was this useful?

0% found this useful

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

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