Discussions
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) {