Modules
Objects/Functions
SuiteScript 2.0
{Form}.addSubmitButton({label: {string}})
N/ui/serverWidget Module
Form.addSubmitButton()
Method Description:
Adds a submit button to a form.
If the row count exceeds 25, sorting is not supported on static sublists created using this method.
Returns:
serverWidget.Button object
Supported Script Types:
SuiteScript 2.0 Suitelet Script Type and SuiteScript 2.0 User Event Script Type (beforeLoad(scriptContext))
Governance:
None
Module:
N/ui/serverWidget Module
Since:
2016.1
Search NetSuite -
https://system.netsuite.com/app/help/helpcenter.nl?search=Form.addSubmitButton(options)
Example:
// Code Example 1
//Add additional code
//...
var form = serverWidget.createForm({
title : 'Simple Form'
});
form.addSubmitButton({
label : 'Submit Button'
});
//...
//Add additional code
//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_4543597606.html