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!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Utilizing Field Changed Function to disable other fields
Is it possible to utilize a field changed function to enable/disable other fields based on a selection made in a multi-select list? I know the current code I have below doesn't work because nlapiDisableField is not valid in client side scripts, however I want to figure out a way to do what I'm trying to do. I'm thinking a client script using the field changed function to call a UE script that will perform the field enable/disable?
function clientFieldChanged(type, name, linenum){ var practice = nlapiGetFieldText('custbody50'); nlapiLogExecution('debug',"Practice", practice); if (practice == "Storage"){ var field = nlapiGetField('custbody62'); nlapiDisableField('custbody62',T); } else{ return; } }
Tagged:
0