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!
Update your Profile with your Support type to get your Support Type badge.
Uncover the power of data with the Analytics Hub —your ultimate guide to mastering NetSuite Saved Searches and Reports. Simplify the complex and unlock your organization's true potential. Dive into the Analytics Hub now and soar to new heights!
NetSuite 2025.2 Release Notes - This document summarizes the changes to NetSuite between 2025.2 and the previous release.
To help you get the most out of your 2025.2 Release Preview account, review the topics outlined in the 2025.2 Release Preview Guide.
SuiteWorld October 6 - 9, 2025: Agenda Builder is live!

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

edited Dec 2, 2019 5:45PM in SuiteCloud / Customization 5 comments

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

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!

Leaderboard

Community Whiz

Quarter 3 (Jul-Sep 2025)

This Week's Leaders

This Month's Leaders

All Time Leaders