Open Confirm
Overview
The Open Confirm
action is a page overlay that displays critical information, blocks interaction with the page, and only closes after an action is performed. The Open Confirm
action should interrupt a user flow until a specific action is taken. It is used to convey important messages that can't be ignored. Potential use cases for Confirm action are:
Confirming a permanent change, like deleting data
Relaying a vital system message like a maintenance downtime window
Though it's visually similar to an Alert Modal, a Confirm action requires the user to acknowledge the information in the dialog.
Users cannot interact with content outside an active Confirm window until the user explicitly closes it.
Configuration
Please find a list of the open confirm action attributes that are available.
Property | Description |
---|---|
Label | Text that will be displayed in the header. |
Message | Main content message for your alert box. |
Variant | Appearance of the alert modal. With or without a header. |
Theme | Specify a color theme for a header. |
On Confirm | Ability to add a subsequent interaction when the end-user clicks the OK button. |
On Confirm interaction
The On Confirm
interaction enables you to define subsequent actions or interactions when the end-user clicks the "OK" button.
Type of action available
To define what will happen when pressing the OK button.
Refresh Query (when using the Query Data Source)
Example: use the On Confirm interaction before deleting a record
In this example, we demonstrate how to use the "On Confirm interaction" to prompt end-users for confirmation before deleting a record.
Practical use cases
Some practical use cases for the Open Confirm interaction with next actions after clicking "OK" include:
Deleting a record: Display a confirmation message, ensuring users know the consequences before proceeding with the deletion. Upon clicking "OK," the record is removed, and a follow-up interaction or notification confirms the action's success. View the tutorial example.
Submitting a form: When users submit a form, an Open Confirm action can be triggered, providing them with a final review opportunity. After clicking "OK," the form is submitted, and a success message or redirect can be initiated.
Confirming a high-priority action: For actions with significant impact, such as changing user permissions or approving a substantial financial transaction, the Open Confirm interaction ensures users are fully aware of the implications. Clicking "OK" executes the action and can be followed by an audit log entry or a confirmation email to relevant stakeholders.
Last updated