Country and state/province fields on Forms | Community
Skip to main content
Richard_Wasylyn
Level 4
January 11, 2014
Question

Country and state/province fields on Forms

  • January 11, 2014
  • 14 replies
  • 5183 views
Does anyone know if you can have the state/province field set to have dependent picklists based on the country that is selected. For example, if the user selects Canada as a country, can only Canadia provinces show in the state/province field?

One step further can we have the state/province field visible only after the country is selected.

At this point I'm guessing that there isn't an easy way to do this within marketo that we'll likely need some javascript to handle this.

Does anyone have a similar set up that can provide some suggestions?
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

14 replies

July 8, 2014
Is there a way to make state/province mandatory on Forms 2.0? We use conditional state/province lists for three countries: US, CA, DE.


July 8, 2014
Yes, you can have state be required and conditional with forms 2.0. Just make sure to enable the visibility rules as well as make the field required when you select the field in the editor.
July 8, 2014
Amazing. I missed the button the first 87 times. Thank you!!
July 25, 2014
I followed the instructions at https://community.marketo.com/MarketoResource?id=kA650000000GtpdCAC 

I want the country names spelled out so I tried to follow this part: 

Full country and state names


Where in Marketo do I upload the file "fullStateCountry.js"?


Thanks,

David