Yes, Webflow allows for custom redirect URLs for each contact form in CMS templates, making it possible to create separate thank-you pages for landing pages. Here's how you can achieve this:
1. Set up your CMS template: Create a CMS template for your landing pages, including the contact form component. Make sure you have a collection for your landing pages in the CMS.
2. Add a thank-you page to your CMS collection: In the CMS collection for your landing pages, create a new field called "Thank You Page" or something similar. This field will store the URL of the thank-you page for each landing page.
3. Configure the contact form: Drag and drop a contact form component onto your CMS template. In the form settings, open the "Actions" tab. Here, you'll find an option called "Redirect URL."
4. Set up the redirect URL dynamically: Instead of entering a static URL, click on the dynamic data icon ({{}}) next to the Redirect URL field. From the dynamic data panel, select the "Current CMS Item" option. Then, choose the "Thank You Page" field you created in the CMS as the source for the redirect URL.
5. Design your thank-you page: Create a separate page in your project that will serve as the thank-you page. Design this page to match your branding and provide a personalized message to visitors who have submitted the form.
6. Test the form submission: Publish your website and test the contact form submission on various landing pages. Each landing page should redirect to its respective thank-you page, based on the URL stored in the CMS collection.
By following these steps, you can create separate thank-you pages for your landing pages in Webflow using custom redirect URLs. This approach allows for a more personalized and tailored experience for your website visitors after they submit a contact form.