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

Community site session details

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

Map custom form field

(0) ShareShare
ReportReport
Posted on by

I have a custom dropdown field used on our Dynamic forms so leads can select their country. However, this doesn't map to the default country field in the lead/contact record. Is there an easy way to have it so my custom country field, when filled out, will also map to and fill out the default country field found in contact/lead records?

I know there are workflows you can create to automate processes behind the scenes, but for the life of me I cannot seem to find where to create workflows inside of Dynamics.

Thanks!

I have the same question (0)
  • Verified answer
    cloflyMao Profile Picture
    25,210 on at
    RE: Map custom form field

    Hi Burly,

    1. When we create a marketing form field record, the mapping entity field data type should be same to form field type.

    e.g: There is an eixsting "Country" form field record, as we can see, both form field type and entity field data type(default country field) are same: Single line of text

    pastedimage1587019167535v1.png

    So in your situation, if your custom dropdown field is an option set type field, then you should also set form field type to option set.

    2. As you said, workflow would be the way to automatically process data between different field type, you can find workflow configuration page by clicking Advanced setting menu in Setting icon at top right of navigation bar.

    pastedimage1587020050245v2.png

    Then you will see legacy web client setting page to find Processes.

    pastedimage1587020192347v3.png

    3. Here are some other ways which could also achieve your requirement:

    * Create a lookup field to save contacts' country information.(Lookup type form field is a new feature in 2020 wave 1 release, and might be not stable.)

    https://community.dynamics.com/365/marketing/f/dynamics-365-for-marketing-forum/381518/use-a-country-lookup-on-a-marketing-form

    * Still using default single line text country field, create a custom javascript plugin to render countries list and populate the default field with selected text of country when user clicks a row.

    It's totally front-end, here is a helpful api service to build such list.

    https://restcountries.eu/rest/v2/all

    service home page:

    https://restcountries.eu/

    A sample preview: rendering data in a HTML table:

    pastedimage1587020850327v4.png

    Another sample, automatically populating country input field when select a country record in dropdown list, the demo is built with jQuery and a plug-in: ddslick,

    you could integrate it with your marketing page and build whole feature with help of Marketing form API.

    
    
    
      
      
      
      
      List
    
    
    
    
      



    We can hide real form field

    Test 1:

    When page is loaded.

    pastedimage1587027560659v1.png

    Test 2:

    When I selected a country record:

    pastedimage1587027617049v2.png

    Regards,

    Clofly

  • Community Member Profile Picture
    on at
    RE: Map custom form field

    Thanks Clofly,

    When selecting advanced settings from the Settings icon, my page appears different and doesn't seem to have that Processes option:

    pastedimage1587051159206v1.png

    Is this a permission problem or some other issue?

  • cloflyMao Profile Picture
    25,210 on at
    RE: Map custom form field

    Hi Burly,

    We can click caret at right of Settings to show more menus. 

    4657.pastedimage1587051920044v1.png

    If you have any questions, please feel free to ask. :)

    Regards,

    Clofly

  • Community Member Profile Picture
    on at
    RE: Map custom form field

    That did it, thanks so much!

  • cloflyMao Profile Picture
    25,210 on at
    RE: Map custom form field

    Hi Burly,

    It's glad that your problem could be solved.

    Please kindly mark as verified to close the thread if you had found any answer helped, it would be really appreciated.

    Regards,

    Clofly

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 120 Super User 2025 Season 2

#2
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 119

#3
Erin Lubben Profile Picture

Erin Lubben 66

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans