variable set client script how to get the other variable set of variable field

chunn
Tera Expert

Hi

I create the client script onchange in A variable set.

Judgment of the variable field of B variable set in the script

My question is how to obtain the variable field of B variable set in onchange client script.

 

1 REPLY 1

Sandeep Rajput
Tera Patron
Tera Patron

@chunn Since both the variable set A and B will be applied on the same record producer/catalog item, you will be able to access the values of variables present in either of the variable sets in the onChange client script. 

 

You can access the variable values using g_form.getValue('field name'); in onChange client script regardless of the fact to which variable set it belongs to.