Is it possible to show/hide a subtab conditionally...
# suitescript
p
Is it possible to show/hide a subtab conditionally? I am looking to show a subtab only if there is a value in a custom field on a sales order and hide another subtab based on the same parameter.
s
Is it a custom tab or netsuite native one? Is this in a single account or spread across multiple like in a suiteapp/bundle?
p
custom tab and single account.
s
You could certainly hide it by setting the display,
jQuery('#tabid').css('display', 'none')
and reveal with
jQuery('#tabid').css('display', '')
just inspect the page to get the tab id
p
Ok. I can do that.
152 Views