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.
Need Your guys HELP!!!!!!
guys, need help!
i wrote a server side script to get the data from a webform, and store those data to the customer(or prospect) record. however, i cannot correctly store the value from a drop down box in the form. it only return the index number(internal id??) instead of the string value...please help.
here's part of my script...
**************************
record.setFieldValue('phone', webleadid.getFieldValue('custrecord_web_phone'));
record.setFieldValue('email', webleadid.getFieldValue('custrecord_web_email'));
//******* problem occur here ******
var countryCode = webleadid.getFieldValue('custrecord_web_country');
// this supposed to be "US-United States" from a drop down box( country
// LIST), however, it only returns its index number (internal id) 86, not