serverWidget.createForm(options)
Method Description |
Creates a form object. |
Returns |
serverWidget.Form object |
Supported Script Types |
Suitelets For more information, see SuiteScript 2.x Script Types. |
Governance |
None |
Module |
|
Since |
2015.2 |
Parameters
The options parameter is a JavaScript object.
Parameter |
Type |
Required / Optional |
Description |
Since |
---|---|---|---|---|
|
string |
required |
The title of the form. |
2015.2 |
|
Boolean |
optional |
Indicates whether to hide the navigation bar menu. By default, set to If set to |
2015.2 |
Syntax
The following code sample shows the syntax for this member. It is not a functional example. For a complete script example, see N/ui/serverWidget Module Script Samples.
//Add additional code ...
var form = serverWidget.createForm({
title : 'Simple Form'
});
...
//Add additional code