Webforms

"My webform submissions keep landing in my Junk folder"

February 13, 2020
You know you published your webform. You know people are interested in using it. You wait, and wait, and wait some more, and wonder when the submissions will start arriving. At a certain point, it occurs to you to check your Junk folder and—lo and behold!—you have oodles of submissions waiting for you. How can you avoid this annoying frustration and have your webform submissions show up where you expect to see them?

"My form menu options are breaking out the side!"

February 11, 2020
You've worked diligently on your webform and it looks great, but when testing it you discover that the select menus and textareas are suddenly breaking out the side. Why did this happen? How can you fix it?

Use Twig to create interactive webform calculations

April 01, 2019
We recently spoke with Ryan Jones from TAPS goClub group about a fascinating project to show commuters just how much pollution they are individually contributing to the environment. In addition to the eye-opening data it provides, the webform created by Ryan and his colleague Ramon Zavala also provides a perfect example of how you can incorporate calculations into your forms and share them with your users.

Webform Block

The Webform block is a system block (View) that creates a container you can assign to a page region and then select an existing webform to display within that container.

Set up Conditional Email Recipients

If you have multiple departments in your unit, or individuals who provide specialized support, you may want to consider setting up your contact or webforms in such a way that, depending upon which options are selected or completed, the email handlers responsible for sending out the emails will send it to a very specific email account.

General Data Protection Regulation Resources

May 31, 2018
Have you received, like, a gazillion emails from sites and services you subscribe to informing you that their privacy and terms of service have been updated? What is GDPR and does it affect your site on SiteFarm?

Doing more with Webforms

August 16, 2017
Webwash, a blog dedicated to learning development "the Drupal way" has created a two part tutorial delving further into what can be done with WebForms.

"How do I get started with Webforms?"

March 09, 2017
The fellow who created the Webform module, Jacob Rockowitz, posted an hour-long introduction and tutorial in Feb 2017 providing an overview of what Webform is, what it contains, and how you can use it in your site.

Validation patterns

Advanced Webform users may want to consider ways to force certain types of validation that aren't available by default in the feature, but can be accomplished using what are called 'regular expressions' or a 'regex'.

Definition: A regular expression or regex can be described as a special text string for defining a search pattern.

How to use a regex in Webform

Scenario: a user would like to force a guest to only provide an email address with the 'ucdavis.edu' domain. This isn't possible in any of the default options but can be done using a regex pattern.