Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
Does a form object get passed on field changed events?
Hi -
I've been trying to refo our workflow for the customer service department, and I've added a lot of fields in to our case form. To keep the clicking around down, I've avoided putting these informational fields in some seperate subtab, but not all of the fields are relevant to the case. I figured I could set a field hidden or normal based on an issue type like so:
function fieldChanged( type, name )
{
// var record = nlapiLoadRecord(nlapiGetRecordType(), nlapiGetRecordId() )
var form = new nlObjForm
if ((name == 'issue') && (nlapiGetFieldText('issue') == "X"))
{
form.getField('custevent_foo').setDisplayType('normal');
form.getField('custevent_bar').setDisplayType('hidden');