what is the syntax to fetch complete record for catalog item

String
Kilo Sage

Hi Team ,

Am using below syntax to fetch variable set  record in json format in client script on submit for portal 

 

var testData = JSON.parse(g_form.getValue("IO:8990testabc123456"));
alert(testData);//getting empty
 
But am unable to get the data .
Please guide me 
 
1 ACCEPTED SOLUTION

Rahul Talreja
Mega Sage
Mega Sage

Hi @String ,

Is IO:8990testabc123456 a field name?

Please mark my response correct/helpful as applicable!
Thanks and Regards,
Rahul

View solution in original post

4 REPLIES 4

Rahul Talreja
Mega Sage
Mega Sage

Hi @String ,

Is IO:8990testabc123456 a field name?

Please mark my response correct/helpful as applicable!
Thanks and Regards,
Rahul

Hi @Rahul Talreja thanks for your reply .

My Bad ,I have give wrong filed name 

var testData = JSON.parse(g_form.getValue("test"));
alert(testData);//now getting the data 

Hi @String ,
Good to hear your issue is resolved!!

Can you please close the thread by marking my answer correct, If will help future visitors with similar query.

Please mark my response correct/helpful as applicable!
Thanks and Regards,
Rahul

Hi @String ,
Request you to please close the thread. It will help future visitors.

Please mark my response correct/helpful as applicable!
Thanks and Regards,
Rahul