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.
NetSuite has launched SuiteSuccess Wholesale Distribution Edition, in Japan. Please join us the webinar on February 12 that introduces NetSuite solution with demos and case studies for Wholesale Industry.
Register Now
Force call of Submit button on suitelet form from client script
Hi Everyone,
I am seeking some help here and i am stuck for few days :h_a_w:
I am working on a Suitelet which creates a Form displaying different fields in GET method.
I have added 3 buttons:
* APPROVE calling a function checkApprove() as newForm.addButton('custpage_approveit','Approve', 'checkApprove('+salesorderID +')');
* REJECT calling a function checkReject() as newForm.addButton('custpage_rejectit', 'Reject', 'checkReject('+salesorderID +')');
* SUBMIT using newForm.addSubmitButton('Submit');
I want to verify the inputs of the user in all fields have added in the form (myform.addfield...) and alert the user of any information wrongly input, and if ok (and only if all OK) submit the form to POST