Hi there
I have a question regarding sc_set_global marco.
In the web :
Note 1: A local variable can be a global variable if you use sc_set_global
$var3 = ‘testing’; // var3 is a local variable
sc_set_global($var3); // transforming var3 in a global variable
echo [var3] ." global variables"; // Now we can call [var3] in any other event
So, I put
$v_userid = {ds[0][2]};
$v_usertype = {user_type};
sc_set_global($v_userid);
sc_set_global($v_usertype);
into the onvalidation event.
but I don’t see $v_userid and $v_usertype in the application -> Global Variable.
The Global Variable is the variable being passed in the application, isn’t it?
thanks