How can I change the follow up page based on a form field selection? | Community
Skip to main content
March 11, 2015
Question

How can I change the follow up page based on a form field selection?

  • March 11, 2015
  • 2 replies
  • 2539 views
I would like to be able to change the Follow Up page based on the selection of a form field in my marketo field.
For example if they choose 1-5 as an option, they would go to follow up page 1. If they choose 6 or more they would go to follow up page 2. Help!
 
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

SanfordWhiteman
Level 10
March 11, 2015
This is much the same principle I demonstrated here.

In the onSuccess, read out the form fields again and then change the Thank You page URL accordingly.

Note that demo goes back and queries the HTML <FORM> element because I wanted access to the labels for easier interpretation.  You could also used the passed variable form.values to just get the values.
March 16, 2016

Hi Dave,

I know its quite late, but I have been recently using Marketo and came across this query now

I faced a similar situation recently and was able to come up with a solution. So, here it is:

In the Form editor, go to Form Settings -> Settings. There you will be able to see a ThankYou Page section at the bottom.

You can very well choose the Add-Choice option there, which for your case will be (lets say Choose is your field label):

Choice 1

If 'Choose'[select field here (as a dropdown, will be one of the fields you have used in your form)]  IS '1-5'[select your value here]

Follow up with: Select either Stay on Page OR External URL OR Landing Page and provide the URLs accordingly for follow-up page 1.

Default

Follow up with: Select either Stay on Page OR External URL OR Landing Page and provide the URLs accordingly for follow-up page 2.

I have attached a screenshot for your reference, hope it solves your query.

Thanks !

Regards,

-Prabash.

March 16, 2016

And once you are done setting this, when you use the Form in your Landing Page, select 'Form Defined' as the follow-up action

Regards,

-Prabash.

SanfordWhiteman
Level 10
March 17, 2016

This won't work with all field types and matching/grouping logic, though.  And it gets clumsy with value ranges. Overall a JS solution is more flexible.