Disabling the 'Add Row' in MultiRow Variable Set - not working on RITM

Lucja Talaga
Tera Contributor

Hi,

I have a task to disable conditionally 'Add Row' button in MVRS - I've used g_form.getField() function, but while it's working properly on service portal view, on RITM it's not working and it's showing this error message and it's not working. Anyone has idea about that or maybe had similar problem or knows any workaround? I have to create also onSubmit() script that checks if there is exact number of rows in MVRS. 
Thanks for any advice/help

Talaga_0-1718095816520.pngTalaga_1-1718095969086.png

 

3 REPLIES 3

Thanks, this is for disabling the whole MVRS not only "Add Row" button - but thanks for answer.

Regards,

Łucja

Ankur Bawiskar
Tera Patron
Tera Patron

@Lucja Talaga 

why would someone edit MVRS on RITM view?

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