How to limit the rows in the multi-row variable set on the catalog form ?

jatinder1
Tera Expert

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 !!

22 REPLIES 22

p t1
Kilo Sage

Hi,

Set a limit to the number of rows that you can add to a multi-row variable set by using the max_rows attribute in the Variable Set attributes field.

find_real_file.png

Please mark correct if helpful

Thanks 

preethi

Not applicable

It's not limiting it even after applying the attribute

Mark Roethof
Tera Patron

Hi there,

You can use the set_attributes field for this:
max_rows = 5

Note: out-of-the-box the set_attributes field is not on the 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

LinkedIn

Hi Mark,

Do i need to create a new field ? with the same backend name (set_attributes)