I am trying to pass the value for a custom from fr...
# suitescript
p
I am trying to pass the value for a custom from from a User Event to a Client Script but the value is not coming through. When I check the browser console log I get an undefined as a value. How can I get the custom form value to pass? From User Event
Copy code
const cform = cr.getValue({
                    fieldId: 'customform'
                });
From Client Script
Copy code
var cfr = cform;
        console.log('Custom Form From Addl Bk is ' + cfr);
b
the user event script does not run in the same environemnt as the client script
they dont have access to each others variables
store the variable on a field instead and get it from the client script
👍 1