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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

How to map a capture form dropdown to a text field on the contact?

(0) ShareShare
ReportReport
Posted on by

My Marketing department has been using Unbounce for years and are very happy with it.. We are implementing Dynamics Marketing so we are going to use Capture Forms to integrate unbounce. However, we are running into a bit of an issue.. All of our forms use Country as a dropdown, but on our Contact and Lead Country is a text field.. 

Has anybody worked out a way to map the value of a dropdown on a source form to a text field in the contact/lead when creating a capture form? 

Thanks

Josh

I have the same question (0)
  • Verified answer
    cloflyMao Profile Picture
    25,210 on at

    Hi Josh,

    1. You can create custom option set type field to represent "Country" instead of the default text "Address 1: Country" field and add it to Contact and Lead, then map the drop down to the custom field.

    First we need to create a new form field record for the custom option set field:

    pastedimage1605237274126v2.png

    Map the drop down to the form field record.

    pastedimage1605237400396v3.png

    2. Alternatively, adding an extra hidden "text" Country input field on your form(<input style="display:none">), when user changes the selected option, populate the hidden field with text of the option with javascript.

    Finally, map the hidden field to the default text Country field.

    Regards,

    Clofly

  • Community Member Profile Picture
    on at

    Your second idea was far less impactful.. Off the idea threw togaether this little script...

    <script>

    function addHiddenField(){

       form = document.querySelector("form");

         plain_country = document.createElement("input");

         plain_country.type = "hidden"

         plain_country.name = "plain_country";

         plain_country.id = "plain_country";

         form.appendChild(plain_country);

         selectlist = document.getElementById("country");

         selectlist.onchange = function() {plain_country.value = selectlist.value;};

    }

    window.onload = function() {

     addHiddenField();

    };

    </script>

    Works great, thanks for the suggestion.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 130 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 117

#3
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 69 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans