Question

PageList should be required field
Hi All,
I have a "Pagelist" property(Repeating Grid) on a form, through a source values are being set to that Pagelist, when user submitting form it shouldn't be null.
how can i make Pagelist as mandatory field.
Thanks
Suresh Chella
-
Like (0)
-

Hi Santanu,
Have tried, i cant see 'star mark' .
FYI: am using PEGA 7.1.6
Thanks
Suresh Chella

Hi,
Thanks for immediate reply
i think its a row editing, in my requirement , on click of a button values are being set to Pagelist. So system should check Pagelist contains atleast a record before submitting form.
Anyway i will try and let you know
Thanks
Suresh

Hi Santanu,
Am unable to see red mark though i made field as required .
Can you suggest any alternative method
Thanks
Suresh

Hi
It could be a CSS specific problem. Can you try login with Administrator@pega.com and check the said behavior by doing private check out of the section pxRowEditing and making the field pyCommonName mandatory.
Ideally you should see the red exclamation mark against the field .Please share the result

Hi Suresh,
When you say 'required' here - do you intend that the PageList has 'at least one entry in it?' - I'm not clear in my own head what 'required' means in terms of non-scalar properties.....(does an 'empty' PageList count as being 'filled-in' ?)
Cheers
John

Hi Jhon,
Yes, we should check that Pagelist contains atleast a record.
thanks
Suresh

Hi Suresh,
You can do this easily in Post Activity of the flow action, where you check for length of page list is greater than 0. Then Set Error Message on Page if length is 0. That way you will be able to force the user to add a row.
Regards,
Prasad

Hi Prasad,
i have solved this issue with the same model earlier, but thanks for responding