Confirmations
Confirmation messages set the confirmation information displayed to users after the form is submitted. Five confirmation types are supported.
Confirmation Type
The type of confirmation message. There are 5 types:
| Type | Description |
|---|---|
| Display a message | Display a message (default); the message appears at the bottom of the form and supports an auto-dismiss timeout |
| Display an HTML | Display HTML content; suitable for showing rich text HTML |
| Display an alert | Display a popup; provides button interaction and auto-close |
| Reload the page | Reload the page |
| Redirect | Redirect to another page |
Choosing a Type
- Display a message: Suitable for a simple "submission successful" prompt (most commonly used)
- Display an HTML: Suitable for scenarios that need to display rich text HTML content
- Display an alert: Suitable for scenarios that require popup reminders and button interaction
- Reload the page: Suitable for scenarios where the user needs to continue filling out the form
- Redirect: Suitable for scenarios that guide the user to another page after submission (e.g. thank-you page, payment page)
Display a Message (Default)
The confirmation message is displayed at the bottom of the form.
Message
Use the Jodit rich text editor to set the message content; supports inserting variables.
Default content: Your message has been sent, thanks.
Message Timeout
The duration the confirmation message is displayed (unit: seconds, default 10 seconds). After the timeout the message automatically disappears.
Choosing a Timeout
Set an appropriate number of seconds so the user has enough time to see the confirmation before it automatically disappears.
Reset Form Values
How field values are handled after the form is submitted. Options:
- Reset form values to default (default): Reset the field values to their default values
- Clear form values: Clear all field values
- Keep form values: Keep the values entered by the user
Use Cases
- Reset to default: Suitable for scenarios where the same form is filled out multiple times in a row (default recommendation)
- Clear: Suitable for scenarios that require the next fill-out to be blank
- Keep: Suitable for scenarios where the already-entered content still needs to be viewed after submission
Redirect to Another Page
When enabled, after displaying the confirmation message, the page automatically redirects to another page.
Redirect Flow
When enabled, the post-submission flow is:
- First display the confirmation message (Display a message)
- Then redirect to the target page
Suitable for scenarios of "first show submission success, then jump to a thank-you/payment page".
Display an HTML
Displays custom HTML content at the form location. Suitable for scenarios that require displaying complex content (such as styled confirmation pages, embedded videos, etc.).
HTML Content
Use the Jodit rich text editor to set the HTML content; supports inserting variables.
Default content: Your message has been sent, thanks.
Difference from Display a Message
| Comparison | Display a message | Display an HTML |
|---|---|---|
| Message field | Message | HTML |
| Message timeout | ✅ | ❌ |
Display an HTML has no Message timeout, making it suitable for confirmation content that needs to be displayed continuously without auto-dismissing.
Reset Form Values
How field values are handled after the form is submitted. Options:
- Reset form values to default (default): Reset the field values to their default values
- Clear form values: Clear all field values
- Keep form values: Keep the values entered by the user
Redirect to Another Page
When enabled, after displaying the HTML content, the page automatically redirects to another page.
Display an Alert
The confirmation message is displayed as a popup. Provides rich popup interaction settings.
Message
Use the Jodit rich text editor to set the popup message content; supports inserting variables.
Default content: Your message has been sent, thanks.
Error Button Text
The display text of the popup button when validation fails.
Success Button Text
The display text of the popup button when submission is successful.
Success Button Event
The behavior after the user clicks the success button. Options:
- Close (default): Close the popup
- Link: Jump to the specified link
Use with Redirect
If Success Button Event is set to Link, you can use the Redirect to another page setting below to set the jump target. After the user clicks the button, they are redirected to the specified page.
Auto-Close Delay (Seconds)
The delay time for the popup to auto-close (unit: seconds). Options:
- None: Do not auto-close (the user must manually click the button to close)
- 2, 3, 5, 8, 10, 15 seconds
Choosing a Delay
- Short prompts: Set to 2-3 seconds for a quick flash
- Important information: Set to 8-10 seconds to ensure the user sees it
- Important confirmations: Set to None, requiring the user to actively click the button to close
Reset Form Values
How field values are handled after the form is submitted. Options:
- Reset form values to default (default): Reset the field values to their default values
- Clear form values: Clear all field values
- Keep form values: Keep the values entered by the user
Redirect to Another Page
When enabled, after displaying the popup, the page automatically redirects to another page.
Reload the Page
After the form is submitted, the page is reloaded. This type has no additional settings.
Use Cases
Suitable for scenarios where the form needs to return to its initial state after the user submits it. After the page is reloaded, the form automatically resets to its default values.
Redirect
After the form is submitted, the page redirects to another page.
Reset Form Values
How field values are handled after the form is submitted. Options:
- Reset form values to default (default): Reset the field values to their default values
- Clear form values: Clear all field values
- Keep form values: Keep the values entered by the user
URL Type
The target method of the redirect. Options:
- Page (default): Select the target page from the DNN site's page list
- Custom URL: Manually enter a custom URL address
Page URL
When URL Type is Page, select the target page from the DNN site's page list. Available pages include all pages in the site (such as Home, Blog, News, and other pages in your site).
Selecting a Page
Page URL lists all existing pages in the DNN site; just select directly. If you need to jump to an external address, change URL Type to Custom URL.
Query String
The query string of the redirect URL. You can pass the values entered in the form into the redirect URL here, making it easy for the target page to obtain and use this data.
Via the Insert variable button, you can insert the following data into the query string:
- Form: Form information (e.g.
[Form#Name]) - Record: Record information (e.g.
[Record#AllData],[Record#IpAddress]) - Order: Order information (e.g.
[Order#OrderNumber],[Order#TotalAmount]) - Submitted Form Value: Field values submitted by the user (e.g.
[Element#Email],[Element#Name])
Example
For example, to pass the email and name entered by the user to a thank-you page:
?email=[Element#Email]&name=[Element#Name]After the redirect, the target page URL becomes:
https://yoursite.com/thank-you?email=user@example.com&name=JohnThe target page can then obtain this data via the URL parameters, passing form data across pages.
Open New Window
When enabled, the redirect opens in a new browser window (new tab) instead of replacing the current page.
Next Steps
- Errors — Error display conditions
- Notifications — Email notification settings
- Form Settings Overview — View all setting categories