Can Webflow allow for the addition of slug or cms data to form submissions in order for clients to identify the specific page the form is coming from?

Published on
September 22, 2023

Yes, Webflow allows you to add slug or CMS data to form submissions in order to help clients identify the specific page from which the form is submitted. Here's how you can achieve this:

  1. Set up CMS collections: If you haven't already done so, create CMS collections for your website. CMS collections allow you to store and organize data related to your website's content.

  2. Create a form: Design a form using Webflow's built-in form element or the form component from the Webflow Marketplace. Ensure that the form includes fields to capture relevant information, such as name, email, message, etc.

  3. Add hidden fields: Use a hidden form field to capture the slug or CMS data pertaining to the specific page the form is on. This data will be included in the form submission but won't be visible to the user filling out the form.

  4. Populate hidden fields: To automatically populate the hidden fields with the desired data, you can use Webflow's dynamic binding feature. Bind the hidden field to the slug or CMS data associated with the current page.

  5. Submit form data: Once the form is submitted, the hidden field values will be included in the form submission. Clients can then access this data to identify the specific page the form was submitted from.

By implementing these steps, you can easily incorporate slug or CMS data into your form submissions in Webflow. This feature enables your clients to gain valuable insights into the source of form submissions and optimize their response accordingly.

Additional questions:

  1. How can I add CMS data to form submissions in Webflow?
  2. What are the benefits of capturing slug data in form submissions in Webflow?
  3. Is it possible to display the page name on the form submission confirmation message in Webflow?