Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Suitelet Single Column Form
I'm trying to create a single column form using a suitelet. I'm not sure if this is just related to SS2.0 but it's putting a blank column to the right with everything I've tried. So I get my single column form but it only takes up half the page space.
Basically I have a select field followed by 2 inline HTML fields. Here is the code I've tried. Anyone else have issues with this or better yet, a solution?
Thanks!
if(request.method == 'GET'){ // create the form var form = serverWidget.createForm({ title: "Funding Request" }); form.addSubmitButton({ label: "Create Invoice" }); //form.clientScriptModulePath = 'SuiteScripts/SWK/somejavascriptfile.js'; (-- this not working yet) form.clientScriptFileId = '1077448'; /*************** Client information ***********************/ var clientFldGrp = form.addFieldGroup({ id : 'clientfldgroup', label : 'Client Information' }); //clientFldGrp.isSingleColumn = true; var clientFld = form.addField({ id : 'custpage_client', type : serverWidget.FieldType.SELECT, label : 'Client', container: 'clientfldgroup' }); //clientFld.breakType = serverWidget.FieldBreakType.STARTCOL; // STARTCOL STARTROW NONE var searchDataTableFld = form.addField({ id : 'custpage_search_datatable', type : serverWidget.FieldType.INLINEHTML, label : 'Search HTML', container: 'clientfldgroup' }); //searchDataTableFld.breakType = serverWidget.FieldBreakType.STARTCOL; var openPODataTableFld = form.addField({ id : 0