Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Answered

Map custom form field

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

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!

  • cloflyMao Profile Picture
    cloflyMao 25,202 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

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

    That did it, thanks so much!

  • cloflyMao Profile Picture
    cloflyMao 25,202 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
    Community Member Microsoft Employee 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?

  • Verified answer
    cloflyMao Profile Picture
    cloflyMao 25,202 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

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,965 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,836 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans