When a user clicks buttons, text, or containers on your form, you can trigger a wide variety and sequence of form actions to occur.
When a user clicks buttons, text, or containers on your form, you can trigger a wide variety and sequence of actions to occur.
Actions you can trigger include:

Form Navigation

  • Go to next step
    • Allows you to navigate to a different step of your form according to your navigation rules
    • Optional allow validating and submitting the fields on your current step
    • If validation fails, navigation will not occur.
  • Go to previous step
    • Navigates back to the last step that the user was on.

Save a Field Value

You can configure an element to save a custom value into a form or hidden field when it is clicked. This allows you to:
  • Track which elements were clicked for calculating navigation, validation, purchases, and more.
  • Build custom fields by combining buttons and containers that store custom values into the same hidden field.
Clicking an element can trigger a custom URL to open, either in the same window or in a new tab.

Adding or Removing a Repeating Container

If you've set a container on your form as repeating, clicking an element with the Add Repeating Container action will cause a new copy of the container to appear right below the current one. You can keep triggering the action to continue adding more repetitions after each other.
Clicking an element with the Delete Repeating Container action will have the opposite effect. This element must be within the repeating container itself, and the action will remove the repeating container that contains the element.

Trigger Integrations

Certain integrations like Plaid or Stripe can be triggered via a click. When Plaid is triggered, the Plaid modal will appear to guide the user through a flow for collecting their bank information. Stripe allows you to trigger an action to collect a payment from the user.

Authentication Actions

When an authentication integration like Stytch or Firebase is connected to your form, you have access to verification actions that can be triggered via a click. This includes:

Custom Action

Specifying a custom actiont to run won't do anything automatically. However, if you've embedded your form and specified a custom action as a callback function, your custom action callback will be run when the user clicks the element.