Navigate to Tab based on Field Option

I have an Item Type drop down with two options, I would like the default tab to open based on which option is selected. I don’t want to hide or disable the other tabs just have it open to the correct tab based on the drop down option.

Dear @cortese98,
You can use code similar to this:

fd.spRendered(function() {
    if(fd.field('Choice').value == 'Test'){
      fd.container('Tab0').setTab(2);
    }
});
1 Like