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
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