How to specify redirect URL when submitting a form | Community
Skip to main content
Level 1
July 31, 2014
Question

How to specify redirect URL when submitting a form

  • July 31, 2014
  • 3 replies
  • 4092 views
With the old forms it was possible to set the redirect URL by setting the 'returnURL' field as documented here. Is there a similar way to handle redirects with Forms 2.0? We have some forms that are having to be duplicated many times just to change the redirect URL, and it'd be much easier to just specify the redirect page/URL when embedding the form, or with Javascript on the page where it's embedded.
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

3 replies

Kenny_Elkington
Adobe Employee
Adobe Employee
July 31, 2014
Hey Michael,

You can do this with the Forms 2.0 API.  Example 2 on this page does just that: http://developers.marketo.com/documentation/websites/forms-2-0/
Josh_Hill13
Level 10
August 1, 2014
Why would you not use the Page level redirect?
Kenny_Elkington
Adobe Employee
Adobe Employee
August 1, 2014
Josh, I believe this is because they're utilizing the same embed code for many pages, and want to be able to specifiy the followup on a per page basis.  Setting this up as a page level redirect would not allow them to have different followups for each page it is deployed on.