Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Make sure you've also considered the privacy requirements you must follow, such as including a collection notice with your form and creating a Privacy Impact Assessment (PIA). 

\uD83D\uDCD8 Instructions

Create a new form

  • Go to the main top ribbon in the CMS and select Structure and then Webforms.

  • Select the +Add webform button.

  • Add a title for your form.

  • Fill in the administrative description with the following informationinformation that will be useful for your team, such as the purpose of the form and where it will be embedded. If you’re building the form in content.vic.gov.au, please copy and paste the below and fill it in:

    • Form contact:

    • Department or agency: 

    • Embedded on page: [Add the URL of the page where the form will be embedded]

    • Submissions to: [The email address that submissions will be sent to]

    • Data export plan: Data is exported [choose either weekly, fortnightly or monthly] by [person responsible] and then deleted from the CMS. 

    • Tested by: [Leave blank]

    • Description: [Purpose of your form]

  • Click save.

Build your form

  • Go to the Build tab.

  • Add your form fields by selecting +Add elements and choosing from the range of form elements available. For more information on each of the form elements, hover your mouse over the question mark next to each one.

  • In For each form field/element:

    • the The General tab allows you to add in a title, description text, mark any options for elements such as radio buttons, set the field as to be “required” (make it mandatory to be filled in by the user) and add character or word count limits.

    • the The Conditions tab allows you to add basic conditional logic to your form, such as making the field visible or hidden depending on the answer given in an earlier field.

Customise your form settings

  • Go to the Settings tab (next to the Build tab) and click on the below tab for “Confirmation”. In the first “Confirmation type” section, change this setting to “Inline” – this will make the form disappear from the page once the user has submitted it and display the confirmation message.

    • Choosing this setting will mean users can’t submit duplicate copies of the form and have more confidence that their submission has been saved.

    • If you would like to customise the confirmation message that displays, this can be done in the next field below: “Confirmation settings”. Please note: the field “Confirmation page/modal title” is not currently supported, so just fill in the “Confirmation message” field only.

  • You can set up options to email copies of the form submissions to specific email addresses. This can be found under the Settings tab > Emails / Handlers tab. 

    • The From email address can't be changed – this must remain as the default [site: mail] option otherwise the emails either won't send or will go to a spam folder. 

Embed your form on a webpage

  1. In the edit screen of your page, click the Add Component button and select 'Form embed (Drupal)'.

  2. In the title field you can either add a heading for this form (it will display as a Heading 2 size) or you can leave this field blank.

  3. In the webform dropdown, scroll to find the name of the form you want to embed. The names displayed on this list are internal names and won't show on the page.

...