Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
NSC | Client Script > Resolve: Unable to click another field
The fieldChanged function after the field is “unfocused” or in a simpler term – updated.
Some users get stuck to certain fields they click such as the start date field or item field on the item sublist of transaction records. This is usually caused by a missing return true; statement within the fieldChanged function of a client script.
Here is a sample that you can try out:
/**
* @NApiVersion 2.x
* @NScriptType ClientScript
* @NModuleScope SameAccount
*/
define([],
function() {
/**
* Function to be executed when field is changed.
*
* @param {Object} scriptContext
* @param {Record} scriptContext.currentRecord - Current form record
* @param {string} scriptContext.sublistId - Sublist name
Refer a Member to the Community | Earn the Answer Accepter Badge | Vote for the contents you'd like to see