Submit Rules
Submit Rules
The second type of form rule listed within the Form Rule tab is Submit Rules. You can create Submit Rules to custom-direct users after the form has been submitted.
For instance, each form comes with a preexisting, built-in Submit Rule to Show A Confirmation Message (the action) of "Form successfully submitted" (the message) once the user submits the form.
You can customize this confirmation message that displays when users submit the form and you can also add additional Submit Rules by clicking on the Add New Submit Rule button.
When creating a new Submit Rule, you can select one of the following three actions:
-
Show a confirmation message
-
Redirect to an existing page
-
Redirect to another website URL
Let's explore each of these three action types you can choose when creating a Submit Rule.
Show Confirmation Message
Like the default Submit Rule that comes built into each form, you can create additional Submit Rules to show a custom confirmation message based on custom conditions.
For instance, if you have a Ticket Management App with an Add New Ticket form, you can create a Submit Rule to show a confirmation message (the action) of "We understand this ticket is a high priority and will respond as soon as possible!" (the message) when the ticket priority is set to High (the condition).
Now, when users submit a ticket with a priority of high, they will see the above confirmation message.
You can create as many custom confirmation messages as you need based on your custom-defined conditions.
All rules will be applied in the order in which they were added and the default confirmation message submit rule will apply for all form submissions that do not have a unique rule assigned to them.
Redirect to an Existing Page
The second type of submit rule action you can choose is to redirect the user to an existing page within your app based on custom-defined conditions.
For instance, if you have a Ticket Management App with an Add New Ticket form, you can create a submit rule to Redirect To An Existing Page (the action), the FAQs page (the page) when the ticket priority is set to Low (the condition).
The submission rule dropdown will show Parent level pages, as well as Child level Details Pages for the relevant data table
Now, when users submit a new ticket with a low priority, they will be redirected to the FAQs page of the app.
You can create as many submit rules to redirect users to existing pages based on your custom conditions as you need. The default submit rule will apply for all submissions that do not meet any of your custom submit rules.
Redirect to another website URL
The third type of submit rule action you can choose is to redirect the user to another website URL based on custom-defined conditions.
For instance, if you have a Project Management App with an Add New Project form, you can create a submit rule to redirect the user to a specific URL when the project priority is set to Highest.
As you can see in the image above, you can include parameters in your redirect such as POST and GET parameters. If you would like to include parameters and values from the form in the redirect using GET or POST methods, select Yes for Send Query Parameters and choose the Method of GET or POST. If you have a service that can consume GET or POST requests, you can push data directly from the form to those services.
Once you create a Submit Rule, the number of existing Submit Rules you have for each form will show within the Submit Rules tab for that form.
We'd love to hear your feedback.