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.
Bug? form.addSubTab = blank subtab?
I have code that is trying to add a code-built subtab -
var tab = form.addSubTab('custpage_billable_material','Billable Class Material','items'); var sublist = form.addSubList('custpage_material_sublist','list','Class Material','custpage_billable_material'); I then go on to add fields to the sublist and stick a few vlaues in those fields. If I run the code as form.addTab(), it works exactly as I'd expect.
If I simply change the code to form.addSubTab as in the code above, the tab correctly places itself as a subtab of items, but it is completely empty - no columns, no lines, no values - nothing.
0