https://netsuiteprofessionals.com logo
p

prem kumar

04/12/2022, 2:51 AM
How to add a tab on suitlet
b

battk

04/12/2022, 3:55 AM
p

prem kumar

04/12/2022, 4:01 AM
Am trying the same method but it's not working
b

battk

04/12/2022, 4:02 AM
what does your attempt look like
p

prem kumar

04/12/2022, 4:04 AM
I applied form.addTab to a suitlet ...in that script fields are available but tabs are missing
b

battk

04/12/2022, 4:07 AM
still have no idea what your attempt looks like
m

Mike Robbins

04/12/2022, 12:52 PM
If you don't put any custom fields or sublists on the tab, the tab will not be displayed, so you'll need to call
form.addTab()
then `form.addField()`with the
container
property indicating the tab that field should be displayed on. Also, it appears that if you only have a single tab, the tab is not displayed. As soon as you add a second tab with content, then the tabs are show.
👍 2
p

prem kumar

04/12/2022, 12:54 PM
This is really helpfull thank you @mike