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