Form Default Values on Landing Page | Community
Skip to main content
Hank_Hansen
Level 5
April 9, 2015
Question

Form Default Values on Landing Page

  • April 9, 2015
  • 5 replies
  • 1775 views
I'm trying to figure out why my form's default values are not passing when the form is on a Marketo landing page.

I do have forms passing default values properly when forms are embedded on pages that are not on Marketo landing pages.

The forms in both cases are set up the same way as far as I can see.

Am I overlooking something?

 
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

5 replies

SanfordWhiteman
Level 10
April 9, 2015
Remember that prefill takes effect on LPS. So if a field's value is literally an empty string, that's going to appear instead of the form's default.
Can you post the URL of the LP? Also, are you testing using an incognito/private browsing window?
Hank_Hansen
Level 5
April 9, 2015
OK - thanks for that!

It may be that I can use an embedded form on our own site rather than the landing page. My requirements are:

1) pre-populate hidden fields with default values set in the form
2) populate one hidden custom field using a token

For #2, when the user clicks through a campaign email, this should set the token value so I don't think I need to use the landing page? Or do I? 

Still a bit of a newbie here - thanks for bearing with me.
SanfordWhiteman
Level 10
April 9, 2015
You can still use the LP -- just turn off Prefill. I should've said Prefill takes effect if you leave it on.
Hank_Hansen
Level 5
April 9, 2015
OK - understood.

With an embedded form on our own site, can a custom field value be passed to a hidden field via token when a user clicks through an email campaign? Or do I have to use the landing page?

Thanks!
SanfordWhiteman
Level 10
April 10, 2015
You can still pass values into hidden fields via cookies or query parameters with an embedded form. 

However, prefill (where an associated lead cookie automatically pulls data in from Marketo) won't work with the embedded option.