In this video we'll explore some additional form settings, like how to display a confirmation message or redirect users to a specific webpage when they've completed the form, and how to make multi-page forms more user friendly by automatically saving a draft at each new page.
In the "Form settings" tab, there are some useful settings that you don't want to overlook.
- Confirmation message: Thanks for comleting our awesome webform! You're awesome! (What you enter here will be displayed to the user after they click the "Submit" button.
- Redirection location: I'll show you this in just a minute, but basically, this will allow you to redirect users to a specified page after they click the "Submit" button.
- Total submissions limit: You can set your form to only accept a specified number of submissions ever, every hour, every day or every week. So, if you were using this to run a promotion, and only wanted to accept the first ten submissions every day, you could do that.
- Per user submission limit: While the "Total submissions limit" still allows a user to submit the form twice, you can use this to only allow one submission per user. Or, you could use the two settings together, and say that each user can submit the form once a day, and you'll only accept 50 submissions total.
- Status of this form: If your form is "Open", users can submit responses. If it is "Closed", submissions will no longer be accepted.
Here you can choose which roles are allowed to submit this form. Keep in mind that this is not limiting which roles have access to the form, only which roles can submit the form. If you'd like to prevent access to even view the form you can use one of the suggested modules (Taxonomy Access or Node Privacy by Role).
- Available as block: This will create a block that you can place anywhere on your site. This means you can place it in a sidebar on every page, for example. Keep in mind though that is most effective with forms that have only one or two fields.
- Show complete form in teaser: This will do just what it says, the entire form will be showing in the teaser view.
- Show "Save draft" button: This can be very useful if you have a particularly long form that users need to fill out. It will let them same the responses as a draft to come back to at a later time.
- Automatically save as draft between pages: Again, if you have a long form, this can be a huge usability feature. Every time the user clicks the "Next" or "Previous" buttons, a draft is automatically saved.
- Show the notification about previous submissions: If this is checked, users will be notified if they have already submitted the form.
- Submit button text: Get me outta here! (You can override the text of the submit button by entering your own text here.)
View our new form
Now, if we fill out our form again, we can see the "Get me outta here!" button at the end of the form. And, when we click it, we see our "Thanks for completing our awesome reform! You're awesome!" message.
I promised I'd show you the "Redirection location" setting. So go back to the "Webform" tab. Click on the "Form settings" tab, and enter the URL where you'd like to send people after they've completed the form.
- Redirection location: http://modulesunraveled.com
Submit the form again
This time when I submit the form, I'm redirected to modulesunraveled.com. Using a URL redirect is great for gathering statistics. For example, if you're running Google analytics, you can set a set a goal, and use this page as the URL destination for that goal.
Before we go any further, I'm going to change the "Redirect location" back to "Confirmation page" so that I can fill it out again later, and stay on this site.