Multistep container

The Multistep container block in Greyd Forms allows you to create multistep forms within your layout. It uses a parent-child architecture where each step of the form is represented by a child block. You can easily add or remove steps directly in the editor. Each step can contain any type of field or block, giving you full flexibility over your form’s structure.

Screenshot of a Multistep container Block, explained in the following paragraph.

In the above screenshot, a step has already been added to the multistep container. Navigation between steps is handled using the dedicated Next/Back button block, which can be placed wherever needed within the form. A progress bar is enabled by default to visually indicate the user’s progress through the steps. An additional quiz mode is available that lets you transform the multistep form into a quiz with answer validation.

Settings

Screenshot of the Multistep container block Settings tab, explained in the following paragraphs.

In the General section, you can select the mode of the multistep container. Available modes are “Normal” and “Quiz.” When the quiz mode is selected, only one question should be added per step. If you insert an input inside the multistep container in quiz mode, a new input field will appear in the block’s settings sidebar to define the correct answer. For radio buttons, you can toggle that this is the correct answer in the individual radio button’s sidebar.

Under Transition, you can configure the transition behavior between steps. Available transition effects include swipe horizontally, move vertically, fade, or none.

If the multistep container is in normal mode, an additional option appears: Go to next step automatically. When enabled, the form automatically advances to the next step as soon as all required fields in the current step are completed. Please note that this option is not ideal for accessible forms. The automatic step change doesn’t work reliably with keyboard navigation or screen readers.

The Elements section includes a toggle to enable or disable the progress bar. Once enabled, a button appears that links directly to the Progress Bar Settings section.

The block also supports Animations. In the Advanced section, you can find settings for HTML anchor, additional CSS classes, the Greyd Styles Class and toggles to hide the block per breakpoint.

Progress bar settings

Screenshot of the Multistep container Progress Bar settings, explained in the following paragraphs.

In the Appearance section, you can choose the visual type of the progress indicator: a traditional progress bar or pagination dots. Alignment options for the indicator include left, center, and right.

In the Colors section, you can define both the active progress color and the background color of the progress bar.

The Size section allows you to adjust the width and height of the progress indicator. The settings are provided by the Range Unit Control component, offering you various options to define the right size.

Lastly, under Border Radius, you can set the corner rounding for the progress bar. See the Dimension Control Border Radius component for more details.

In the Advanced section, you can find settings for HTML anchor, additional CSS classes, the Greyd Styles Class and toggles to hide the block per breakpoint.

Next/Back button

The Next/Back button is exclusive to the Multistep container block. Adding this button allows the users to go back and forth through all steps. When creating a new step, a next button is added automatically, which is right aligned. Other alignment options are left, center and none.

Screenshot of an example Next Button in the editor.

Settings

Screenshot of the Settings tab of the Next / back button, explained in the following paragraphs.

In the Action section, you can define which action the button should trigger. Next is selected by default. Other options include Back and Individual. If Individual is selected, a separate input field appears called Go to step number. You can add a step number here to skip steps. This is especially useful in combination with conditional fields, when the user has selected a specific option and can skip a section if it’s not needed.

Under Size, you can set if the button should appear either smaller or bigger, which are predefined settings that can be configured in the Greyd Global Styles.

In the Icon section it’s possible to add an icon to the button to be shown alongside the text. See the Button Icon Control component for more details.

The block also supports Animations. In the Advanced section, you can find settings for HTML anchor, additional CSS classes, the Greyd Styles Class, toggles to hide the block per breakpoint, and inline styling.

Styles

Screenshot of the Styles tab of the Next / back button, explained in the following paragraphs.

Under Styles, you can select one of the predefined button styles: primary, secondary, alternative, link and secondary link.

You can define a custom width for the button, with various options provided by the Range Unit Control component. You can also set different widths per breakpoint.

Under Individual button, you can enable design settings to be overwritten individually. For more details, see the Custom Button Style component documentation.

Video

You are currently viewing a placeholder content from Vimeo. To access the actual content, click the button below. Please note that doing so will share data with third-party providers.

More Information