validation rules for checkbox
I have a requirement like when checking the RestrictDays checkbox it will display all weekdays. then the user without selecting any one day if click on the submit button. it throws an error message like a user must select at least one operational day. how will we write validation rules?
Please refer to attachment.
***Edited by Moderator: Pallavi to update platform capability tags***
-
Like (0)
-
Accepted Solution

I just tried copying the link and pasting on browser and it worked even when I didn't login to collaborate.pega.com. Clicking on link was not working as you told. Could you please try again.
https://collaborate.pega.com/question/multiple-checkbox-validation-multiple-properties-it

Hi Sam,
Add disable condition on Weekends If Restricted is true then disable it.
Check for Weekdays in validate rule if restricted day is true
Check for all days in validate rule if restricted day is false
Hope this helps
Thanks

Thanks for the reply, will it work for individual properties too

Since you confirmed you are using individual properties you can see approach mentioned in below post,
https://collaborate.pega.com/question/multiple-checkbox-validation-multiple-properties-it
Accepted Solution

I just tried copying the link and pasting on browser and it worked even when I didn't login to collaborate.pega.com. Clicking on link was not working as you told. Could you please try again.
https://collaborate.pega.com/question/multiple-checkbox-validation-multiple-properties-it

Thanks for the reply, https://collaborate.pega.com/question/multiple-checkbox-validation-multiple-properties-it