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

Decimal option not present on iPhone keyboard



For iPhone Safari users, the decimal option is not present on the keyboard.

Error Messages

Not Applicable

Steps to Reproduce


Enter a value in a number field (for example, VAT or an amount). The keyboard that displays is a Number only field (no decimal place).

Root Cause

A defect in Pegasystems’ code or rules.


Perform the following local-change:

For the keyboard to display correctly on the iPhone, modify the Currency control to Number control as below:
  1. Navigate to Presentation tab > Read only format.
  2. Set the type as Number and Symbol as None.

Now, the keyboard has all the keys on the iPhone. However, the user is able to enter text as a value and a Validation message is also displayed for a non-decimal input.

Include the below script in UserWorkForm to restrict the user from entering any value other than decimal numbers:


        evt = (evt) ? evt : window.event;
        var charCode = (evt.which) ? evt.which : evt.keyCode;
        if (charCode != 46 && charCode > 31 && (charCode < 48 || charCode > 57)) {
            return false;
        return true;   

Published 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