How to restrict or disable the add button in Multi Row Variable Set after the 5th Row?

RISHAV SANSON
Tera Contributor

I have to restrict the number of rows to 5 but i am not be able to restrict or disable the add button. Could you please share some thoughts or suggestions ? 

33 REPLIES 33

Hi,

 

I did the same thing, but it is throwing null pointer exception in service portal. It is not able to get the "document". The isolate_script is set to true to allow the DOM manipulations

 

find_real_file.png

Any dom manipulation would fail on SP unless you somehow recreated the window and other global objects.

Hi Shanmukha ,

 

The script related to hiding add button is working ?

 

Thanks,

Anji

dianemiro
Kilo Sage

Hi Rishav,

Did you get a solution for this? Thank you.

Regards,
Diane

I posted the solution for you: see my answer.