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

Issue with integer validation



Integer data type accepts decimal values. Integer must accept only the whole numbers and not the decimal values. 

Error Messages

Not Applicable

Steps to Reproduce

  1. Create an Integer property
  2. Use the property in the Text input control which is added to a section
  3. Set Editable Type to Number on the Presentation tab of the Text input control
  4. Run the section
  5. Verify if the decimal values are accepted

Root Cause

An issue with the browser. If an input field (type=number) is entered with a string that contains more than one dot, then the browser does not submit the value. Hence, it cannot be validated by the platform as there is no value in the field. If the field is marked as Required and the user enters 1..1, then value cannot be blank message displays.


Here’s the explanation for the reported behavior: 
A custom JS validation, as mentioned for min max, is required as the field cannot be marked required.

Perform the following local-change:
  1. Use Text Type and limit the entered signs with custom JS
  2. Use Number Type and limit length and dots with a custom JS

Published October 17, 2019 - Updated December 2, 2021

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