Prefill state and country fields | Community
Skip to main content
June 4, 2014
Question

Prefill state and country fields

  • June 4, 2014
  • 3 replies
  • 1166 views
Is there a way to pre fill the state and country fields in a Marketo form? I have the labels hidden and am using the hint text option to display labels inside the fields. However, the select fields only display the first option in the select list and when user revisits the form the fields are blank. Prefill and progressive profilling are turned on.
Any ideas on how to keep the fields from being blank?
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

3 replies

June 4, 2014
Hi Davis,

Have you added countries and state to the value lists in the form editor? When you visit the form, is there a select drop-down with the full list of countries and states?

Let me know.
June 4, 2014
Yes, the first value in each pick list will show but only the first time you visit the form. On subsequent visits both state and country fields are blank. When you click in the blank field, the pick list pops up with the default "Select Country..." on top of list instead of in the field.

Thank you
June 5, 2014
Davis,

It sounds like the value that is being pre-populated does not exist in the value list, so it's unable to pre-fill it. I would open a ticket with our support staff at this point and have them look at it in detail.

I hope this helped to point you in the right direction.