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 03:14 AM
Hi there,
No the field is available, though not on the form lay-out. So add it to the form lay-out, or edit it through the list.
If my answer helped you in any way, please then mark it as helpful.
Kind regards,
Mark
---
LinkedIn
Community article list
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2020 04:29 AM
I could not find it on the form layout as well

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2020 04:32 AM
Can you share a screenshot?
For example is the field available in the xml? Or do you see it when you do configure form lay-out?
If my answer helped you in any way, please then mark it as helpful.
Kind regards,
Mark
---
LinkedIn
Community article list
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2020 01:46 AM
Try this,
function onLoad() {
//Type appropriate comment here, and begin script below
var gen_info = g_form.getField("general_information"); //replace with your variable set internal name
if (gen_info != null) {
gen_info.max_rows_size = 5;
}
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2020 03:05 AM
Hi Abhilash,
Thanks for help but this I already tried and it is not working for me.