Support Article
Integer/Number controls do not fire validate rules in Chrome
SA-5253
Summary
Users are using a Integer/number control on a flow (underlying property is integer/decimal). On entering an alpha numeric value in the integer/number input field, validations are not getting fired and it allows form to be submitted.
This issue is happening in Chrome and IE10+ browsers. IE 8, IE 9 and Firefox have no issue.
Error Messages
N/A
Steps to Reproduce
- Create both an Integer property and a Decimal property. Add to section and change the control to be Integer and Number.
- Create a flow to run
- Enter alpha characters into Integer and Decimal input fields. Note that you will not receive the error!
Root Cause
The root cause of this problem is a defect in Pegasystems’ code/rules.
'on focus out ' from input box the function "display_showImageError " function in "pega_validators.js" file is not getting triggered to display error mark.
Resolution
The fix will be in ML8. Below is a local change for previous PRPC 7.x versions
- use 'text inpt' control instead (you have done so)
- use IE 8, IE 9 and Firefox browsers.
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.