get MVRS values in catalog client script

marcn
Tera Expert
 var mvrsvalues= JSON.parse(g_form.getValue('mvrs_name'));

g_form.addInfoMessage(mvrsvalues)

is it not possible to get mvrs json in catalog client script ?

 

I'm just trying to log the json string and it doesnt work, trying in onchange of a variable of MVRS using catalog client script for a catalog item

11 REPLIES 11

I tried to get MRVS value in onsubmit of MRVS variable set, and not onsubmit of  Catalog item, as you mentioned above but it seems thats not possible. 

@marcn 

Yes that's not possible.

Please use normal onSubmit catalog client script.

If my response helped please close the thread by marking appropriate response as correct so that it benefits future readers.

Regards
Ankur

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