How to add Field Help in SuiteScript 2.0 Suitelet forms?
Answered
Hi, I want to add field Help to a Suitelet Field created in SuiteScript 2.0 using forms. Below is my code.
var captureBillingField = form.addField({
id: ‘custpage_rent_setup_capture_billing’,
type: serverWidget.FieldType.CHECKBOX,
label: ‘CAPTURE BILLING AUTOMATED’,
container: ‘fieldgroupcapture’
});
I want something Like this to a field created from scripting.
Best answer
Just add
.setHelpText({
help: ‘help text here
});