Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
On change function giving error now
So have a js script in place for our salesclient order form. In it there is a onchange function that checks to see if flags are true and excutes as needed. I have added in a statement (seen below) that looks to see if the checkbox is equal to true that fields are populated however nothing happens and i get the following error message:
Script: Sales Order Client
Type: Client
Function: onFieldChange
Error: JS_EXCEPTION
TypeError The value of the property 'onFieldChange' is null or undefined, not a Function object
Here is my added code:
function onFieldChange(type, name, custbody5) {
0