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.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Please note that on Saturday, April 11, 2026, at 8:00 PM Pacific time, our Case Management System will undergo a scheduled maintenance for approximately 30 minutes. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.
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