The Confirm Dialog feature adds an extra layer of safety to form submissions in Bricks. When enabled, it prompts users to confirm their action before the form is sent, helping to prevent accidental submissions.
Settings
You can enable the Confirm Dialog from the settings of the submit button in the Bricks Form builder. Once active, two additional fields appear:
Dialog Text: This is the message shown to users in the confirmation popup. It supports dynamic content using mustache templates, so you can include user inputs or field values in the message.
β
Mustache templates use the{{form.field_name}}
syntax to insert the value of a form field dynamically.Confirm Button Text: This sets the label of the button users click to confirm submission. It also supports mustache templates for dynamic text.