Question
Tokio Marine Holdings
JP
Last activity: 13 Apr 2017 9:47 EDT
The red error icon on tabs for "Required" Propery.
I made a Section including a Tab Group.
Text inputs are included in each tab.
After a user inputs and submits at this page, 2 types of validations that I set are executed.
(1) "Required" in Cell Properties.
(2) Flow Action > Validation Tab > Validate > Edit Validate
At that time, red error icons display next to the tab names if the tab has the property that has an error.
It's so easy to notice where the error inputs are. I like this function.
But I noticed when this error icon displays.
When the validation type(2) catch wrong inputs, the icon displays.
But type(1) catch wrong inputs, the icon doesn't display.
I got to know how to display this red icon is to use Edit Validate rules.
So if I want all of the errors in each tabs to display next to the tab name, I have to use Edit Validate rules instead of "Required" in Cell Properties.
But if I don't use "Required" in Cell Properties, required mark "*" doesn't display.
I need both of the required mark "*" and the red error icon on tab.
Could you help me?
***Updated by moderator: Lochan to add Categories***
-
Like (0)
vamsi paluri -
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Infosys
AU
You can also try having following as the Label:
<span class="iconRequired standard_iconRequired">Field Name</span>
Murali...
Updated: 28 Jan 2016 7:42 EST
Pegasystems Inc.
IN
Which PEGA version you are on ?Also can you give a screenshot of the problem ?
Tokio Marine Holdings
JP
My Pega version is 7.1.6.
-
PABBATHI RAMANNA
Virtusa
IN
Kouhi,
If your requirement is to show the red mark in the tab too for mandatory value miss in the form, then it can be achieved with selection of required in the validate rule for the same property.
Thanks.
Tokio Marine Holdings
JP
Hello Aruldevan,
Thank you for your advice.
In order to let the validate rule works, "Required" checkbox in Cell Properties has to be unchecked because "Required" in Cell Properties works before the validate rule works.
But if it's unchecked, the orange "*" mark for the required input doesn't display.
I want the "*" mark to displays and the red error icon in the tab to display when submit.
Virtusa
IN
Hi Kouhei,
May i know what type of layout you are using in the mentioned scenario??
Thanks.
Tokio Marine Holdings
JP
Hello Aruldevan
I use Dynamic Layout.
Cells in DynamicLayout(Inline Grid double) in Tab Group
Thanks,
Virtusa
IN
Hi Kouhei,
For the Dynamic layout, un check use property default for the label and add the subscript with the label as <img style='vertical-align:middle;' src='images/SomeImage' alt='' />.
For this you need to create a binary rule for the "SomeImage" with the image you wants.
Then if the label to be "ID" followed by the mandatory symbol, give the label as ID <img style='vertical-align:middle;' src='images/SomeImage' alt='' />
For other type of layouts hope you can give required for the label field itself which will show the mandatory symbol.
Thanks.
Tokio Marine Holdings
JP
Thank you Aruldevan
I'm feeling your advice will resolve my problem, but I don't understand completely yet.
I unchecked "use property default".
>add the subscript with the label as <img style..../>
Does it mean to create "Field Value" rule for the label and put the <img> tag into this Field Value?
Thanks,
Accepted Solution
Infosys
AU
You can also try having following as the Label:
<span class="iconRequired standard_iconRequired">Field Name</span>
Murali...
Tokio Marine Holdings
JP
Your way resolved my issue and is so easy to display required icon!
Thank you very much!
Infosys
AU
No worries. Glad that it resolved your issue.
Murali...
Virtusa
IN
Hi Kouhei,
Once after unchecking the "use property default" system will allow to give the label manually.
If you need to give label as ID with a mandatory mark, Use as below in the label text box.
ID <img style='vertical-align:middle;' src='images/SomeImage' alt='' />
Something should be a binary rule created in PEGA.
Reach back if further information required.
Thanks.
Tokio Marine Holdings
JP
I uderstand your way to display required icon.
Thank you very much for your sincere support.
Virtusa
IN
Welcome
Reach back for any queries...
Thanks.