Skip to content

Redirect visitors after a form by what they answered

Send each visitor to the page that fits their answers: a booking page, a price list or a thank you page, with answers in the link.

2 min read

On this page

The page after a form is a second chance. Someone who asked for a demo could book a time right away; someone who picked the basic plan might want the price list; a job applicant needs to know what happens next. Sending everyone to the same thank you page wastes that moment. Here is how to send each visitor to the page that fits what they answered.

Three ways to choose the next page

  1. One page for everyone. In the form's settings, choose to send visitors to a page after submitting and enter its address.
  2. A page per answer. Add redirect rules, such as when Service is Consultation, go to the booking page. You can add up to 10, and the first rule that matches wins.
  3. A page set by your website. Add a hidden _redirect input to the form with the address, useful when the same form sits on several pages.

When several apply, a matching rule comes first, then _redirect, then the form's own page.

Rules use the same checks as flows

A rule compares one answer, using the same operators as the If / else step: is, is not, contains, is more than, is any of, is a company email and more, depending on the field. That means a rule can send budgets above a certain amount to a sales page, or anyone who ticked Urgent to a page with your phone number.

Put answers in the address

Write {{key}} in the address to fill in an answer, such as https://example.com/book?name={{name}}&plan={{plan}}. Answers are encoded for the address, and they can only go after the website part, so a visitor can never change which site they land on. Booking tools can often read those values to fill in their own form, which saves the visitor typing their name twice.

Show the message first

Jumping to another page instantly can feel abrupt. Pick a delay of 3 or 5 seconds to show your success message first, then move on. Leave it at 0 for an instant redirect.

How it behaves on each kind of form

  • Classic form posts get a 303 See Other answer that sends the browser to the page, which is the right status after a POST, so pressing back never sends the form again.
  • Forms sent with the Formpik script or fetch get the address in the JSON answer, and the script follows it. A Webflow Form Block's own Redirect URL still works too.
  • Share links and embeds follow the same rules, and an embedded form moves the whole window rather than just the frame.

Keep the next page useful

  • Confirm that the form was sent, in words, at the top of the page.
  • Give one clear next step, not five.
  • Do not ask for the same details again.

References

Keep reading

More from the blog