web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

Dependent fields for marketing form

(0) ShareShare
ReportReport
Posted on by 5

Hi forum folks, a question about marketing forms...

My organisation wants to include dependent/cascading drop downs in our website's marketing forms. Specifically, we want to include fields where “Country” is the parent field and  “State or province” is the child field. “Country” is a dropdown option set with all countries listed alphabetically. If the user selects either Australia, Canada, or the United States, the State or province field presents them with a dropdown of all the states for that country. I have created both of these fields as global option sets and set up the field relationships in the marketing form. This aspect seems to be working fine.

The issue I’m running into is with the other countries. We only really need the state specified for those three countries listed above, and we can hopefully avoid unnecessary time and effort involved in setting up states or provinces for all countries. However I am getting an error message that each child field requires a parent field in order to create a contact record. This happens regardless of whether or not the child field is marked as required.

The outcome I want is this: when a user selects a country other than AU, US or CA, the state or province field becomes inactive (greyed out) OR it allows them to enter a response as text. 

A less elegant solution would be that selecting any of those other countries causes the state province field to display “Outside of the US, Canada or Australia” or something to this effect, but that feels kind of exclusionary and – well, rude. This would also require someone to set those dependent relationships for all countries to trigger that one response, which seems like a waste of time. 

Would love to get your input on this. Thanks.

I have the same question (0)
  • mhoekstra Profile Picture
    140 on at

    Hi,

    You could use cascading marketing form fields. See lystavlenhistoric.home.blog/.../ & meganvwalker.com/.../. This will work fine for Australia, Canada and US. But for all others you have to set this relationship manual to Outside US.

    Combined with or only using something like hide and show the state field based on the content of country. See www.linkedin.com/.../ and meganvwalker.com/.../.

    Hope this might help you.

    Marten Hoekstra

  • Dynamics 365 Marketing user Profile Picture
    5 on at

    Thanks for this Marten, haven't had a chance to delve into these yet but will let you know how I go.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 137 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 57

#3
Jimmy Passeti Profile Picture

Jimmy Passeti 50 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans