Chris Deakin
09/22/2025, 8:12 AMCeligo AI
09/22/2025, 8:13 AMAI generated answer (using internal Slack threads):In SuiteScript 2.0, you can use the
updateDisplaySize(options) function from the N/ui/serverWidget module to adjust the width and height of a field. Here is an example of how you can use it:
javascript
var field = form.addField({
    id: 'multiselectfield',
    type: serverWidget.FieldType.MULTISELECT,
    label: 'Multi Select Field'
});
field.updateDisplaySize({
    width: 50,
    height: 10
});
In this example, the width and height of the 'multiselectfield' are set to 50 and 10 respectively.
For displaying a wide field on a form, you can use the INLINEHTML field type to break the text out of the NetSuite form. This can be useful when you want to display a large amount of text, such as instructions, on your form.
If you want to display two fields side by side within a single column, you can use the STARTROW, MIDROW, and ENDROW layout types. For example, you can set the layout type of the first field to STARTROW and the second field to MIDROW or ENDROW.
Please note that these methods are based on the SuiteScript 2.0 API and may not work as expected if you are using a different version of SuiteScript.
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
09/22/2025, 8:13 AMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.834045529
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.825622678
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.815979123
Celigo AI
09/22/2025, 8:13 AM