Question
Pegasystems Inc.
JP
Last activity: 17 Jul 2017 16:48 EDT
How to display non numerical value for a Decimal type propety on the screen?
In our application, there is a decimal type property named "Risk ratio" which usually has a numerical value that is calculated by a declare expression rule. However, "Risk ratio" is not always possible to calculate, and our customer wanted to display a string value "N/A" on the screen for the field in such circumstances. Unfortunately, it seems the "Place holder" option of the pxNumber control does not work for a read-only field on the screen.
Defining a new property which is type of Text may solve the problem, however we have to re-implement those formatting features which already provided by the pxNumber control.
Any ideas or suggestions for solving this problem is welcomed.
The PRPC version we are using is 7.1.7.
***Updated by moderator: Marissa to close post***
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.