Webflow sync, pageviews & more.
NEW

Can Webflow allow for custom redirect URLs for each contact form in CMS templates to create separate thank-you pages for landing pages?

TL;DR
  • Use JavaScript to set the form’s action dynamically based on a CMS field (thank_you_url).
  • Create separate static landing pages with manually configured form redirects (not scalable).
  • Use third-party services like Zapier, Make, or Formspree to manage dynamic redirects.

Webflow does not allow for dynamic form redirect URLs in CMS templates. However, you can achieve this using the following workarounds.

1. Use JavaScript for Dynamic Redirects

  • Add a custom embed code inside the CMS template page.
  • Use JavaScript to dynamically set the form’s action based on the current CMS item.
  • Example approach:
  • Store each landing page’s redirect URL in a CMS field (e.g., thank_you_url).
  • Use JavaScript to redirect after form submission.

2. Separate Collection Pages for Each Landing Page

  • Instead of using a single dynamic CMS template, create individual static landing pages.
  • Manually set different form redirects for each page.
  • This works well for a small number of landing pages but is not scalable.

3. Use Third-Party Form Handlers

  • Integrate Webflow forms with external services like Zapier, Make, or Formspree.
  • Configure dynamic redirects based on form data.
  • This adds flexibility but introduces external dependencies.

Summary

Webflow’s native forms do not support dynamic redirects in CMS templates. The best solutions involve using JavaScript for dynamic redirects, static pages with manual redirects, or third-party services to handle form submissions dynamically.

Rate this answer

Other Webflow Questions