Support Article
Decimal control accepts 'e' in the number text box
SA-76150
Summary
The requirement is such that the user should not be allowed to enter the 'e' character in the number text box.
Error Messages
Not Applicable.
Steps to Reproduce
- Log in to the application
- Create a number type of property
- Attempt to enter the character 'e' in the number text box
Root Cause
A third-party product issue. HTML5 number type of input box supports user to enter numbers and 'e' for exponential.
Resolution
Perform the following local-change:- Create an edit input rule for the number property
- Replace the 'e' character with blank, such as '' by adding the below code in the edit input rule:
theValue = theValue.replaceAll("e","");
Published April 5, 2019 - 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.