Preselect VISIBLE form field dropdown value via URL parameters

Anonymous
Not applicable

Preselect VISIBLE form field dropdown value via URL parameters

Hi there,

I'm familiar with preselecting HIDDEN form field values via URL parameters, but wondering if the same is possible for VISIBLE form fields?

Use case: I have a page that offers 4x package options in a table. Against each option is a link and each of those links point to the same page with a Marketo form on it. I want to reoffer those packages on the form but preselect the package that they've already showed initial interest in. This is so we save them time if they have already thought about the option, OR give them the chance to more consciously select the right package (rather than assume they already have).

This is why using hidden fields aren't sufficient here. Appreciate any advice!

Cheers,
Tara
Tags (1)
3 REPLIES 3
Amy_Lepre
Level 7

Re: Preselect VISIBLE form field dropdown value via URL parameters

Yes, you can use JavaScript to do that. See this article: http://community.marketo.com/MarketoArticle?id=kA050000000KysD
Anonymous
Not applicable

Re: Preselect VISIBLE form field dropdown value via URL parameters

Hi--Do you have a working link for the JavaScript post? The above doesn't work.
Amy_Lepre
Level 7

Re: Preselect VISIBLE form field dropdown value via URL parameters

Grr. I hate when Marketo moves things around and doesn't put proper redirects in place or just removes content all together.

I'm not sure which article I was linking to before, but I think using a combination of these two methods should help:

http://community.marketo.com/MarketoResource?id=kA650000000GttzCAC
http://community.marketo.com/MarketoResource?id=kA650000000GtswCAC