End slide

Add an end slide to create a completion page after form submission.

Basic usage

An end slide with a thank you message is automatically added to every form, however, the endSlide() function can be used to customize this slide.

The endSlide() function creates a special slide type that acts as the final destination for your form. This slide will be shown after users complete and submit the form. You can also customize the slide to include a redirect URL that users will be taken to after form completion.

In the example below, the end slide contains a custom message (with some data binding).

Slide containing the input
End slide

Generates the following Markdown-like syntax:


Function overview

The following is the overview of the function:

Arguments

Name
Type
Description

params

object

An object containing all the configuration parameters for your end slide (see the parameters section below for the full list of options).


Parameters

Name
Type
Description

redirectUrl

string

URL to redirect to from the end slide after form submission. This redirect is automatic.


Examples

End slide with redirect

In the example below, users will be automatically redirected to https://example.com/confirmation after form submission because of the redirectUrl.

Generates the following Markdown-like syntax:

Basic end slide

In the example below, the end slide simply displays a completion message without redirecting.

Generates the following Markdown-like syntax:

End slide with restart button

Set the restartButton form setting to "show" to add a restart button to the end slide. When clicked, this button will restart the form from the very beginning.

End slide with restart button

Generates the following Markdown-like syntax:

FAQs

Last updated

Was this helpful?