Use this content block to add form or detail blocks with tabs separating each form or detail block by a model property.
- Open an existing page or create a new one. For example, see our knowledge base article, Add a new page.
- On your page, select ADD CONTENT, and in the Content dialog box, select the Tabs block.
- Scroll down, and in the Title box, enter a name to appear for your tabs block.
- Under the Tab settings section, from the Related model list, select the model whose data you want to show in a detail block or capture in a form.
- From the Tab title property list, select the property you want to appear as the title of the tab.
- From the Tabs type list, select to either capture data in a Form or to display data in a Detail block.
- If you want the tab to not show when there is only one bit of data, you can select the Hide tabs when the related model has only one instance option. This still shows the record but removes the property tab title.
- If you want the tabs to stretch across the full width of the page, select the Stretch the tabs to 100% width option. Otherwise, the tabs are only as wide as the text of the tab title.
This is with the option not selected.
This is with the option selected.
- In the Properties list, select X on any properties you don't want to include.
- Allow related models to be updated in the same form - you may have occasions where you need to update related models at the same time as updating your main model. For example, if you have a form to change someone's manager and update the manager, you may need to update new direct reports and/or add multiple attachments to the form. This is where multi-rows come in. To enable you to create a multi-row, your main model must have a child model connected to it.
- You can alter any of the tab settings you set in the previous step.
- Configure your Detail or Form block. See our knowledge base articles, Add a Form block, or Add a Detail block.