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

pxNumber control for field behaves incorrectly for Firefox

SA-12421

Summary



You are using Firefox version 31.0 and PRPC 6.3 SP1. You have installed HFix-8381.

The following problems occur:
1. For decimal property with control pxNumber value does not display after submit
2) For integer property with control pxNumber value does not display number separators (,.) after submit. For example, 1234 is displayed instead of 12.34 which was entered.


Error Messages



Not Applicable

Steps to Reproduce



Create simple section with pxNumber controls as integer and decimal.

Root Cause



When a field is defined as number or decimal, then the definition of that field is type=number in the resulting HTML.
With this setting, the handling of the number is done by the browser and not by PRPC. This has led to a number of issues where the different browsers (or different versions of the browsers) have implemented the meaning of TYPE=NUMBER differently.

The best approach is to define the fields on the screen as type=text. Browsers do not try to decide how to handle type=text fields and instead, the handling is left to PRPC. Additionally, when using separators for numerals (such as, thousands, millions), that are removed on refresh, a number, 1.234.567,89 (US style: 1,234,567.89)) will change to 1234567,89.
 
Formatting on the editable field is not supported. Hence after refresh section, the separators are removed from the field. This is expected behavior.
Formatting is performed only for read-only fields.
 
With Pega 7.1.7, this defect is resolved and there will be no need for the workaround of using 'Text' input for editable fields. Instead users can keep numbers as numbers.


Resolution



This issue is resolved in Pega 7.1.7.
For PRPC 6.3 SP1 and FireFox, the solution is to use type=text fields.

Published July 24, 2015 - 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