Modules

filter

 

Objects/Functions

module (N/ui/serverWidget)

SuiteScript 2.0

Field.setHelpText(options)

{Field}.setHelpText({help: {string*},showInlineForAssistant: {boolean}})

N/ui/serverWidget Module
Field.setHelpText()
Method Description: Sets the help text for the field. When the field label is clicked, a popup displays the help text defined using this method.
Returns: The serverWidget.Field 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: 2015.2
Search NetSuite - https://system.netsuite.com/app/help/helpcenter.nl?search=Field.setHelpText(options)

Example:

// Code Example 1
//Add additional code
//...
var form = serverWidget.createForm({
title : 'Simple Form'
});
var field = form.addField({
id : 'custpage_textfield',
type : serverWidget.FieldType.TEXT,
label : 'Text'
});
field.setHelpText({
help : "Help Text Goes Here."
});
//...
//Add additional code

//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_4335195721.html