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.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
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