Automate pdf download upon form submit

SanfordWhiteman
Level 10 - Community Moderator

Re: Automate pdf download upon form submit

You can include whatever variables you want in the page and have the onSuccess determine which value to switch in for the Thank You URL based on the current value of a query param.  On a Marketo LP, you can include {{my.tokens}} proper.  On a non-Marketo page, you can include the possible token values within the embed code, or send them back within the Thank You URL.itself (including each option as a different query param, link1={{my.link1}}&link2={{my.link2}}...).

Or, to approach this from another angle, add a hidden field to the form that gets its value from the query string.  Then use Choices in the form config to switch the destination URL.

Robb_Barrett
Marketo Employee

Re: Automate pdf download upon form submit

Thanks. I've got it to work, but discovered a but with Rich Text tokens.  Please see this thread:

Rich Text Tokens add a 'ZERO WIDTH SPACE' char between P tags

Robb Barrett
Anonymous
Not applicable

Re: Automate pdf download upon form submit

Hi All,

Thanks heaps for your suggestions, much apprec iated.

You're right Lee and Ravi an email would be better, just have to be clear about that on the form as well, so as not to waste peoples time if they intend on giving a fake email. Also serves as a lead filter then as well.

Thanks again

Ravi_Ansal2
Level 6

Re: Automate pdf download upon form submit

Thanks Julia