How to limit the rows in the multi-row variable set on the catalog form ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2020 01:20 AM
Hi All,
How can we limit the rows in the multi-row variable set on the catalog form ?
The number of rows should not exceed 5.
Thanks !!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2020 04:41 AM
On Madrid "variable set attributes" field is not available.
So kindly refer the thread which i have mentioned and give a try.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2020 04:53 AM
Sample code: I have tested it.
Write on submit catalog client script on your catalog form level.
function onSubmit() {
var gr = g_form.getValue('Internal name of your variable set').split(',');
if(gr.length > 5){
alert('you can not submit more than 5 rows on MRVS');
return false;
}
}
If my answer helped you, kindly mark it as correct and helpful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2020 10:09 AM
Hey Harsh,
It is working fine for me. Thanks for your help !!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2020 11:39 PM
glad it helped.
if my answer helped you, kindly mark my answer as correct and close this thread.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2022 10:52 AM
awww.. thank youuu