Is there a way to configure Webflow so that the title of a position shows up in the form data email instead of just the page URL?

Published on
September 22, 2023

Yes, there is a way to configure Webflow so that the title of a position shows up in the form data email instead of just the page URL. This can be achieved by using Webflow's form notification settings and custom code.

Here are the steps to configure this:

  1. Open your Webflow project and select the form element that you want to configure.

  2. Go to the Form Settings panel on the right side of the Designer.

  3. Under the Actions tab, you will see a section titled "Notification."

  4. Click on the "Add Recipient" button to add an email address where the form data will be sent.

  5. In the "Send Form Data" dropdown, select "Custom" to customize the email notification.

  6. Now, you can modify the email template to include the title of the position. To do this, click on the "Customize Email" button.

  7. In the email template editor, you can use Webflow's dynamic fields to insert the title of the position. To achieve this, you will need to access the title value from the URL, pass it to the form, and then display it in the email template.

  8. To pass the title value to the form, you can use Webflow's query strings feature. Add a query string parameter to the form's action URL, like ?positionTitle={{title}}, where {{title}} represents the dynamic value from the URL.

  9. Next, you need to retrieve the title value in the form submission, so it can be included in the email. You can use JavaScript code to achieve this. Add a custom code block to your site, and include code that retrieves the query string parameter value, like var positionTitle = getParameterByName('positionTitle');. Make sure to replace getParameterByName with the actual function name that retrieves the query string parameter.

  10. Finally, you can insert the positionTitle variable in the email template to display the title of the position. For example, you can use {{positionTitle}} to output the value.

By following these steps, you can configure Webflow to include the title of a position in the form data email, providing a more informative email notification for your form submissions.

Additional Questions:

  1. How do I configure multiple form recipients in Webflow?
  2. Can I customize the form submission confirmation message in Webflow?
  3. Is it possible to integrate third-party form processors with Webflow forms?