Step Form
Easily create wizard-like interfaces and group content into sections for a more structured and orderly page view.
How to use?
Wrap any block in a parent element with an ID or class and add the same ID in the JS init function of the hs.step-form.js plugin.
Copy-paste the following <script>
near the end of your pages under JS Implementing Plugins to enable it.
Copy-paste the following <script>
near the end of your pages under JS Space to enable it.
Copy-paste the init function under JS Plugins Init., before the closing </body>
tag, to enable it.
Methods
Options can be passed via data attributes or JavaScript. For data attributes, append the option name to data-
, as in data-progress-id=""
.
Attribute | Description |
---|---|
|
The content container attribute which will be used to wrap all step headers. |
|
The content container attribute which will be used to wrap all step contents. |
|
Label for the next button. |
|
Label for the previous button. |