Loop through a variable in MRVS to check the condition
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-29-2020 12:52 AM
I have a variable in a form within multi row variable set.
The variable is a YES/NO field. I wanted to check for every row added the if at any row "no" is selected on the variable the form should not be submitted
- Labels:
-
Service Portal Development

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-29-2020 03:00 AM
paste the script which you modified and tested on your client instance ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-29-2020 03:05 AM
it worked harsh , just one little thing can we also alert that at which row the variable is set to no ?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-29-2020 03:11 AM
Glad it helped.
it will be complicated, because the condition is checking for all rows in loop and based on that it is giving you an alert.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-29-2020 03:19 AM
i am trying to apply the same script to two variable sets , how can i do that. do i need separate on submit?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-29-2020 03:23 AM
one on submit client script would work also, give a try.
If my answer helped you, mark it as correct and helpful.
Kindly mark it as correct and helpful.