Flow editor

Confirm block in flow editor

Confirm block in flow editor

The Confirm block is used to display a confirmation dialog to the user.

Connect the output of a block to the input of the Confirm block to display the dialog. Connect the Confirm block outputs 'Confirmed' and 'Cancelled' to other blocks.

Example:

flow-interaction-confirm-example-1

Select the Confirm block and use Connect Data. 

flow-interaction-confirm-example-2

The input value 'Header' sets the title of the dialog. The input value 'Message' sets the text of the dialog.

flow-interaction-confirm-example-3

A dialog defined by the inputs is displayed to the user. The user can click OK or Cancel leading it to the next specified block.

Result:

Display of a confirmation dialog.

Tips and best practices:

Confirm dialogs are useful to request a decision from the user.

Library:

Interaction

Similar posts

Subscribe to our newsletter

Stay up to date on upcoming news and topics of creating web apps without code.