We're using a central form at the bottom of all of our solution offering pages (not Marketo LPs) (e.g., https://www.avanade.com/en/services/microsoft-tech/cloud-and-applications/ai-ready-cloud). At the program level, we have a {{my.solution offer name}} defined - which should populate this value when the form is submitted:
The value that is being stored is the actual token name and not one of these values:
Are program tokens not supported at all in Marketo forms? If not, what is the solution to grab this token and populate the hidden form field?
I did see your response, @SanfordWhiteman in this post (https://nation.marketo.com/t5/product-discussions/trying-to-use-tokens-to-pre-populate-data-on-a-for...), but wasn't sure if it applies here since we are only using a handful of potential values (defined at the program level) that can only include letters, numbers and spaces.
Solved! Go to Solution.
Not on a non-Marketo LP.
(You can use SimpleDTO to pass {{my.tokens}} from Marketo, though.)
That's right - I forgot about that. We already use your DTO script on our site. In the meantime, I'm just going to define the value immediately when someone fills out the form on the specific offer page:
@SanfordWhiteman, will SimpleDTO work in this situation - where the user may be known/anonymous - and populate the hidden field with the "my." program token? How would the form embedded on the external site know which program to pull those tokens from?
It doesn’t matter if the person is known or not, but you would need a DTP cloned into the Program in order for it to present the right {{my.token}}.