Skip to main content
Level 2
Mar 17, 2017 6:01 PM UTC
Solved

Route form fill to specific thank you page based on the URL

Is there a way to route a form fill to a specific thank you page based on the URL where the form lives? We are hosting our landing pages on the CMS and would like to prevent the creation of multiple forms.

SanfordWhiteman
SanfordWhitemanAccepted solution
User Group Leader
Mar 17, 2017 6:41 PM UTC

Sure, you can do this in 2 ways:

1. In an onSuccess listener, dynamically choose the Thank You based on the current URL (for example, appending "_ThankYou" to the current page).

2. In the form setup, by using Add Choice on the Settings page.

16 replies

SanfordWhiteman
User Group Leader
SanfordWhitemanUser Group LeaderAccepted solution
User Group Leader
Mar 17, 2017 6:41 PM UTC

Sure, you can do this in 2 ways:

1. In an onSuccess listener, dynamically choose the Thank You based on the current URL (for example, appending "_ThankYou" to the current page).

2. In the form setup, by using Add Choice on the Settings page.

Translate
Aug 17, 2017 3:25 PM UTC

Hi Sandford

I can't actually see the referrer URL as an option you can select when setting the choice for the thank you page. It is only offering the fields/questions I have on the form. Can you outline how you would do this? Am I missing something?

Translate
SanfordWhiteman
User Group Leader
User Group Leader
Aug 17, 2017 3:33 PM UTC

You'd have to add the field to the form, as here: https://nation.marketo.com/message/79664#comment-79664

Then you can use it in conditions.

Translate