Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

How to hide Add button in multi row variable set after the 2 entries

Shweta Kasbe1
Tera Contributor

How to hide(disable) Add button in multi row variable set after the 2 entries.Please guide me how can i achieve this.

I tried the below script it didn't worked.

   var my_var = g_form.getField("present_address");
my_var.max_rows_size = 0;

find_real_file.png

 

1 ACCEPTED SOLUTION

Hi,

you need to add here

find_real_file.png

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

10 REPLIES 10

@shweta Kasbe good to know you got it working. Something similar was proposed in my comments before. Not sure what was miss you was ignored.