Discussion


STATE OF NJ JUDICIARY
US
Last activity: 1 Oct 2015 3:17 EDT
Order OOTB (required) error message
How can I change the order of 00TB message for required fields in PEGA7:
Example:
Account#: *field1 *field2 *field3
If all 3 fields are left blank
Need error to be displayed as : Field1: This field may not be blank.
Field2: This field may not be blank.
Field3: This field may not be blank.
Currently the errors not returned in this order
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!


Pegasystems Inc.
US
Hi Nicole,
The easiest way to accomplish this is to write a custom Validate Rule that checks the Properties in the Order you want them to be displayed and flag each of the Properties as Required in the Validate Rule. Then call the Validate Rule from the appropriate Flow Action.
Regards,
Henry
Pega Academy


Virtusa
IN
Hi Henry,
I want to use the orange astrik symbol for the fields but do not wish to use the OOTB validation. How can we achieve this.


Pegasystems
US
Nitesh - The orange asterisk shows up when you mark the property as "Required"


Virtusa
IN
SunnyMahato - I am aware of the "Required" check box in properties shows asterisk symbol. But i do not wish to check the "Required" checkbox but wish to have asterisk symbol. On submit of screen , i can use Obj-Validate to validate the field. But want to display asterisk sybmol next to field label


Pegasystems Inc.
IN
would it be convincing to disable the option 'continue validation' on the fields individually in a validate rule referred in a activity using method 'Obj-Validate'?? Please share your thoughts/comments... [getMessagesAll would just bring up the messages present in clipboard...]


Pegasystems
US
Nitesh - if all that you want is to show a label with orange asterisk without the "required" validation...rather override with your own validations, its just as simple as adding the style in the label
eg: in the property's Label setting: My validation Label <font color=orange>*</font>
-
Ankur tripathi


Virtusa
IN
SunnyMahato -- thank you . that worked. Only concern is color of the asterisk is not same as validation asterisk.


Pegasystems
US
lol... am guessing you are good at figuring it out :) try making it BOLD, and use some kind of color detection app to get the exact color combination


Infosys
AU
Hi SunnyMahato,
Instead of adding HTML code (<font color=orange>*</font>) for every property for which we want required symbol, can this be achieved by creating a new style for Label in application skin?
I have tried this but not able to figure it our how to append * to label in new style.
Thanks,
Murali.


Navy Federal Credit Union
US
better use #B5803C color than orange


Pegasystems Inc.
US
I have tried this but not able to figure it our how to append * to label in new style.
upload your image file, then add a background image to the class in the CSS:
see this article: https://pdn.pega.com/user-interface/adding-icon-fonts-to-your-application
eddie


Infosys
AU
Thanks much Eddie.
Murali...


Virtusa
IN
Hi Eddie,
Can you please let me know how can we use a star (*) with the label of a property instead of adding HTML code (<font color=orange>*</font>) for every property
The pdn link is good with buttons etc where image source option is available. But could not find anything such with Text Property to insert the icon with the label.