← Documentation

Tabs

All editions

A tab set splits a long form into tabs, so users see one part at a time. Tabs can be shown, hidden and selected by rules, styled per tab, moved out of the form into a navigation strip of their own, kept on screen while the form scrolls — or turned into a step-by-step wizard.

A form with a tab set of four tabs, Request, Items, Approval and Attachments, above an overall progress bar reading 2 of 4 tabs complete. Request and Attachments carry a tick for complete; Items and Approval carry an asterisk because required fields are still empty. The Items tab is selected, showing an empty repeating section with an Add row button.

1. Adding a tab set

  1. In the form builder, click + in a column and add a Tab set.
  2. Open Edit tab set. Add tabs with New tab, and reorder them by dragging — a placeholder shows where the tab will land.
  3. Fill each tab with rows, columns and fields like the rest of the form.

A tab set can sit anywhere in the layout, and a form can have more than one.

2. Settings for each tab

SettingWhat it does
Default tabThe tab selected when the form opens. It is marked with a star in the list of tabs.
Tab labelThe text on the tab. With Multilanguage turned on for the tab set, one label per language Professional & Enterprise.
Tab iconAn icon before the label — type its name or use Pick icon.
Select tab colorsBackground and text colour for this tab. Default colours for every tab set are on the Miscellaneous tab; a colour set here overrides them.
ID for use in a rule or in Custom JS / CSSThe tab’s ID, such as tab_5657354574807327. Rules, form tests and dffs_selectTab use it to find the tab, and it never changes when the label does.
Button styleInline CSS for this tab’s button.
Button classA CSS class on this tab’s button, in the tab row and in the separate tab controls. Style it in Custom CSS. It does not follow a tab moved into the ··· overflow menu.
Group heading / labelA heading above this tab’s button in the separate tab controls, to group tabs under titles. Only offered when separate tab controls are used.
One tab expanded in Edit tab set: the Request tab, marked with a star as the default tab, with Default tab set to Yes, Tab label Request, a Tab icon box with a Pick icon button, Select tab colors, the ID for use in a rule or in Custom JS / CSS reading tab_5657354574807327, and empty Button style and Button class boxes.

3. Settings for the tab set

SettingWhat it does
Separate tab buttonsReplaces the tab row with buttons, shown horizontally or vertically, in their own element that you can move anywhere in the form — see section 4. (Called Show the tab controls as a separate element before 2.9.)
Button style (all tabs)Inline CSS for every tab button, in the tab row and in the separate controls.
Make the tab set fixed/sticky to keep it at the top of the screen on scrollKeeps the tab row, or the separate controls, on screen while the form scrolls.
Scroll to top of tabset when switching tabsBrings the start of the new tab into view, so a user switching from the bottom of a long tab is not left halfway down the next.
Show a completion indicator on each tab when all required fields are filledA tick on a tab once its required fields have values, and an asterisk while some are still empty. A repeating section or vLookup made required by a rule counts too, and so does an attachment control with Require at least one file with this suffix: the tab is complete once it has a row or a file.
Show overall progress barA bar above the tabs showing how many tabs are complete, such as 2 of 4 tabs complete.
Show as multi-step-form with previous and next buttons Professional & EnterpriseTurns the tab set into a wizard with Previous / Next buttons, step indicators, per-step validation and Hide tab row. With validation on, Next also stops on an empty required repeating section, vLookup or attachment control. See Multi-step forms.
Multilanguage Professional & EnterpriseOne tab label per language, for the languages picked on the Miscellaneous tab.
The Edit tab set panel: the Separate tab buttons checkbox with its help line, Replaces the tab row with buttons, shown horizontally or vertically, in their own element that you can move anywhere in the form; a Button style (all tabs) box for inline CSS; and checkboxes for Make the tab set fixed/sticky to keep it at the top of the screen on scroll, Scroll to top of tabset when switching tabs, Show a completion indicator on each tab when all required fields are filled, Show overall progress bar, Show as multi-step-form with previous and next buttons, and Multilanguage.

4. Separate tab buttons

With Separate tab buttons, the tab buttons become an element of their own, placed just before the tab set. Drag it anywhere in the layout — for example into a narrow column beside the content, as a side menu.

A form with the tab controls shown vertically in a narrow left column, as a side menu: the group heading Request above the Request and Items tabs, and the group heading Approval above the Approval and Attachments tabs. The Request tab is selected, and its fields, Description, Title, Requester, Department, Priority, Date needed and Tracking number, fill the area to the right.
  • Show tabs horizontally or Show tabs vertically.
  • Icon between the buttons, such as an arrow, for a step-by-step feel.
  • Button style (all tabs) for every button, and Button style / Button class per tab.
  • Group heading / label on a tab puts a heading above it, to group a long list of tabs.
  • The element’s ID is shown in the settings, tabset_<id>_externalControls, for use in Custom CSS.

On narrow screens the separate controls fall back to the tab menu, so users can always switch tabs.

5. Tabs and rules

UseFor
Show/hide tabs actionShowing a tab only when it applies — a Shipping tab only when Delivery is “Ship”. Make its fields optional in the same rule’s If no, so a hidden tab cannot hold up saving.
Select tab actionTaking the user to a tab, for example the one with a problem.
Selected tab conditionDoing something when the user opens a tab.
dffs_selectTab(id)Selecting a tab from Custom JS.

See Rules. Tab switching always acts on the form it was triggered from, also in a vLookup child form.

6. Styling tabs with Custom CSS

Tab sets carry stable classes for Custom CSS:

ClassOn
dffs-tab-rowThe tab row
dffs-tab-external-controls, dffs-tab-external-controls-verticalThe separate tab controls
dffs-tab-label-innerThe inside of a group heading — put padding and margins here rather than on the heading itself
dffs-tab-mobile-navThe tab menu on narrow screens
dffs-tab-stickyA sticky tab set
dffs-tab-pinnedWhichever element is pinned to the top of the screen right now

Add a Button class to a tab to style that one tab, in the tab row and in the separate controls alike:

.tab-urgent { font-weight: 600; border-bottom: 3px solid #c50f1f; }

Tab colours chosen in the tab settings or on the Miscellaneous tab are applied directly to the button, so set colours there rather than in Custom CSS.

7. Tabs in Save as PDF

In Print to PDF, Use tabs as section headings prints each tab as a section with its label as the heading, and Exclude tabs from PDF leaves tabs out. Tabs hidden by rules are left out as well.

Practical notes

  • Refer to tabs by ID, not label. Labels change and may be translated; the ID stays.
  • Hide a section with its rules. A rule that hides a tab should also make that tab’s fields optional — a field group holding them keeps the two in step.
  • Show where a user is on a long form with the completion indicator and progress bar, rather than a wizard, when users need to move freely between tabs.
↑ ↓ to moveEnter to openEsc to close