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.
Validate Field function
Being a novice a suitescript, hoping someone can point me in the right direction. On my Inventory Form, I want to source a standard Netsuite field (salesdescription) directly from another standard field (displayname). Whatever text the user enters in displayname automatically pops into salesdescription. The following script is throwing errors:
function ValidateField()
{
nlapiSetFieldValue('salesdescription', nlapiGetFieldValue('displayname'));
}
Can anyone help with my syntax?
Thanks,
Chuck
0