Creating webforms

Tuesday 22 November 2022

A webform is a simple way to collect data from users that visit your website. They are commonly used to create contact forms, surveys, assist with communications and allow for event registrations. The webform module is included in both the GovCMS Drupal 7 and Drupal 9 distributions.  

To create a webform, you will need to ensure you have the module enabled on your project. If you don’t, please raise a Service Desk ticket requesting it to be enabled. If you have the module enabled, and are unable to find it on your project, check with your Site Administrator to ensure you have the correct permissions.   

When you are creating a webform, we encourage the use of a secondary module called CAPTCHA. Along with the honeypot module, the use of CAPTCHA helps with blocking spam such as advertisements and bots.  

When using webforms, it's important to remember that GovCMS is accredited up to OFFICIAL: Sensitive. When collecting information, always consider why you are collecting it and what it’s going to be used for.  Make sure to do your due diligence. If you’re not sure about the information you are collecting, check with your internal security and legal teams about the rules and regulations of your agency. 

Last year in October, our FUNdamentals event covered how to create a simple ‘contact us’ form using the webform module. The session captured GovCMS privacy considerations/classifications, best practice, and a walkthrough on this module. This is a quick training exercise and is available on our website.  

We also have other resources available that can teach you the ins and outs of using a webform. You can find these on our website, GovCMS Knowledge Base, training manuals and videos or in our GovCMS Content Administration training