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.
Simple Checkbox manipulation
I am trying to use JS to set the value of the isinactive checkbox equal to checked or T when a certain status is selected. However I cannot seem to figure out how to call the checkbox. I have to examples of how I have tried to call the checkbox and set the field value. Neither works. Little help?
function OnFieldChanged(type, name)
{
//This function checks for Status Fields and then throws alerts and changes status
var NewStatus = nlapiGetFieldValue('custentity_contactstatus');
var NewActive = nlapiGetFieldValue('isinactive');
var SetStatus = 'Y';
//alert(NewStatus);
//alert(NewActive);
if(NewStatus == '8')
{
alert('Please edit the Marketing Event tab to qualify the contact on this Marketing Event.');