Exercise 11.3 - Create an event registration form
Last updated
Last updated
In this exercise you will create an Event registration form.
Add a new Webform (see previous Steps 1 to 3 of Exercise 11.1 how to create a webform). Set the title to be Event registration.
Click the + Add element button.
Search for the Element type of Entity select by typing in the search field as shown in the screenshot below. Click the Add element button next to Entity select.
Configure the options on the right hand side to match the screenshot below.
Add a another element using the + Add element button, choose a Text field element and label it “Full name”, making it a required field. You may add the description “Please enter your full name” in the Element description/help/more field set. You can also add a Required message. This text will be displayed to a user if they submit the form without completing the Full name field.
Add an Email element following the steps above, labelled “Email address” and make it a required field.
Add a Textarea element labelled “Comment” and make it optional. At this stage your "Event registration" Webform page should look similar to the screenshot below.
Click on the + Add page button at the top left of the page.
Add a title to the page on the right hand side. For example, you can name the page 'Name and Email address'.
Click on the Save button at the bottom of the Add Wizard page element area.
Add another page using following steps 8 to 10. Name the page 'Comments'.
Using the small cross icons to the left of the Pages and Elements, drag-and-drop to position the 'Name and Email address' and 'Comments'.
Indent the form elements as shown in the screenshot below and then click on Save.
Optional - Add an email handler so that webform responses are automatically emailed to a specified email.
In the Email handler pop up window, set the custom email address and click on Save. You can separate multiple email addresses with a comma.
Test your form
Hint: The Test tab allows you to easily test your form with auto-filled dummy data and without the need to assign your Webform to a Webform page.