Advanced Configurations & Validations
In addition to basic form functions, the Webform page also offers some advanced configuration and validation options.
A recorded webinar on how to use these validations is available for review.
The Webform page can be used to create a fillable form page on your GW Drupal website.
Access to the Webform page is restricted to users with Content Supervisor and Site Administrator accounts in GW Drupal websites. As such, the results are only available to users with the aforementioned permission levels unless they have been exported into a CSV or Microsoft Excel file.
By default, submissions are logged in your GW Drupal website, however, you can create email notifications that get sent out whenever a submission is logged. At a minimum, we recommend setting up two email notifications:
For the internal email notification, we recommend:
For the form submitter's email confirmation, we recommend:
Tokens are used to dynamically populate information with the unique responses from form submitters. A table of all available tokens is visible within the collapsed Tokens section beneath the Email Template.
Tokens require the use of the token key - which is fixed by the system - and the form field key - which is created when the form fields are created - in order to work.
Webform pages offer several options for confirmation messages, including a bare-bones default confirmation page. However, we recommend creating a General Content page to redirect to as the confirmation page, as the default page does not include the Brand and Hero on the page.
If no custom confirmation page has been created, the default confirmation page will load upon form submission, thanking the user for completing the form and linking back to the form.
Webform pages are managed in two parts:
The benefit of this infrastructure is that it's possible to hide the form fields without unpublishing the page altogether. For instance, if a form is temporary or seasonal, the fields can be hidden when submissions are not being accepted. If and when submissions are being accepted again, the form fields can be made public again.
Managing forms in this way prevents websites from website visitors with the form link from encountering a 404 Page Not Found error message from trying to access webform pages that have been deleted or unpublished when submissions are no longer being accepted.
To set the form status to open or close, simply toggle the status option as necessary.
Validation rules allow you to set additional restrictions or requirements on specific form fields. For instance, while the Email form field automatically validates for proper email formatting, content owners can add an additional validation rule to restrict the field to @gwu.edu email addresses.
There are quite a few validation rules, but most only work on a handful of form field types. For instance, the Numeric values rule, which "verifies that user-entered values are numeric, with the option to specify min and/or max values" only works on the hidden, number, and text field form fields. It will not work on any other form field type.
The Results tab displays all of the form submissions to date in several formats:
Webform results can be exported into a CSV or Microsoft Excel file from the Download section. The export can be customized to only export specific fields and within specific date ranges.
For instance, if you have previously exported the results, you can choose to only export the newest submissions. Or, if you only need certain information from the form, you can choose to only download the responses to that/those form field(s).
Finally, the Clear button provides the option to delete all results. You will be prompted to confirm that you want to delete all results, and if you affirm that decision, it cannot be reverted. So delete with caution.
Also, please note that you cannot use this option to delete specific results or a portion of the results. All results will be deleted. Individual results can be deleted from the Submissions button or by viewing individual responses and clicking the delete button therein.
Sample Editorial Theme Webform Page Sample Classic Theme Webform Page
GW Drupal
Demo & Training
GW Communications & Marketing