Dynamic Country State Pick List feature not working | Community
Skip to main content
May 3, 2013
Solved

Dynamic Country State Pick List feature not working

  • May 3, 2013
  • 14 replies
  • 3324 views
I followed this to the letter: https://community.marketo.com/MarketoArticle?id=kA050000000KysHCAS, but when I preview the landing page with this form, I see that the state field disappears, but choosing United States or Canada does not make it reappear. Also, I do not have progressive profiling enabled.

I've spent far too much time on this, have tried everything to get this to work. This landing page is not approved so you can't look at it, but I just wondered if anyone found anything funky about this feature, the instructions, or the zipped attachment list of countries, states, that makes it so it won't work. Or maybe you discovered some other way to make this work?

I also put the Custom HTML after the form, based on another page I read. It's so weird not being able to see and manipulate code.

Thanks!
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by
Actually, I just opened up the fullCountries.rtf and that one seems to start with "Select Country..." Are you sure you didn't accidentally use that one?

14 replies

September 17, 2013
I don't know if you've attempted to edit the list, but make sure you don't edit the list and that it starts like this: 

Select Country,United States::United States,Canada::Canada,Afghanistan::Afghanistan,Aland Islands::Aland Islands,Albania::Albania,Algeria::Algeria,American Samoa::American and so on...

Are you using Marketo landing pages or are you placing Marketo code on your own web pages?
September 17, 2013
Thanks for your reply Karen. I am using marketo landing pages.
My list started like this: Select Country::,United States::United  - same goes for state
so i removed the two colons but it still doesn't look like it is working. 



September 17, 2013
It shouldn't have the two colons after the word Country, just a comma, but the 2 colons do need to go after United States and Canada. You shouldn't have as much of a problem as I did since we are not using Marketo Landing Pages, and you are. Marketo has the JavaScript already on its pages. Let me know if this helped at all. 
November 3, 2013
This is hosted on AWS and all you have to do is cut and paste a small script into a landing page or landing page template. On any form which contains country/state the values will automatically show up.

digital-pi.net/2013/10/state-country-form-app-for-marketo/

Hope it helps and we'll keep adding to it as more variations are required.