Dear Support,
I'm experiencing an unexpected effect when placing a tab control within a layout group that is part of a tab control - a second layer of tabs. After page generation, the second tab control changes to a text field. Is there a trick for designing this onto the form?
Thank you,
Mike
I'm experiencing an unexpected effect when placing a tab control within a layout group that is part of a tab control - a second layer of tabs. After page generation, the second tab control changes to a text field. Is there a trick for designing this onto the form?
Thank you,
Mike
RE: Embedded tab controls
There isn't any reason why you cant nest groups of tabs inside each other.
The first thing to check is that the metadata for the tab relationships is correctly set up.
Go to the Field Details tab, and select the first tab group for you second layer of tabs. Under the Visibility Details section, make sure that the 'Display Group Based on the Value of a Field?' option is ticked, and that your second level tab control field is selected, and the relevant value entered.
Repeat this check for each of the tab groups, and then finally select the second level tab control field. Make sure that the control type is set to Tabs, and check that the correct tab options are listed under the Data Constraints section.
Hopefully making sure these settings are correct will resolve the issue, but please let me know if you still have any problems.
Regards,
Gerard
RE: Embedded tab controls
Thank you for your response. We'll revisit our metadata for the tabs. One thing to note is that we are not seeing the Tab option in the Control options in the Field Details screen.
Thanks,
Mike
RE: Embedded tab controls
Did you create your second layer of tabs by dragging and dropping another tab control within an existing tab pane? I assume this was the case.
Gerard has covered all the necessary steps, but it might help if I explain a little bit about the underlying detail. When you drag and drop a tab control onto your page, it creates a control field (e.g. tab_control) and a couple of container groups that represent your tab panes. Although these groups are created for you by default, you should be able to use any group on your page, which means you have the flexibility to link additional information onto you tab control, which will become tab panes.
I think what may have happened is that the tab_control field for your first level of tabs might have been selected by default for your inner tab group panes. In order to link a group (tab pane) to a specific tab control, select the group and then select the relevant tab control field (e.g. tab_control_2) under Visibility Details. You will need to have linked at least one tab pane (group) to a specific tab control field before it will show the Tabs item on the Control dropdown. I suspect, because your inner panes are linked to the outer control field WebMaker thinks your inner control field is just a plain text box.
I hope this helps. Please let us know how you get on and if you need anything further. I have attached a couple of screen shots that might help.
Kind Regards
Abdul