Convertr Help Centre Help Center home page
Submit a request
Sign in
  1. Convertr Help Centre
  2. Product
  3. Forms - Advanced

Country List Form Field Follow

Overview

A 'CountryList' form field is available to add to your form, removing the need to create this field from scratch. Once added, this field will allow users to select a country from the form dropdown list.

An overview of how to setup forms can be found here.

 

Setup

Adding the CountryList field

Add a new field type, selecting 'Country List' as the field type.

Form field countrylist form typeThis will create a 'Country' dropdown on your form.

Changing the Captured Value

Once a user has selected a country from the dropdown and completed the form, the value captured will be country code, rather than the full country name. This is because the the default setting for this field type is set to capture country code, the below screenshot shows the field settings where the value column shows the content that will be captured with each lead.

Default value of countrylist field captures country code

To change the capture value to instead capture the full country name, download the attached JSON file found at the bottom of this article. This JSON will allow you to swap the country code capture to full country name capture with each lead.

Once the file is downloaded, open the field settings.

Copy and paste the values of the JSON file into the 'Import JSON' field and then click 'Import'.

Import JSON full country name fields

Once imported, the new values will be added to the existing list of dropdown field options. Any existing values will not be replaced, so these options may need to be removed manually.

Full country value in dropdown field

Setting the Default Dropdown Value

Click the CountryList field 'Settings'

Navigate to the 'Options' tab, and input the value that should be the default option when the form loads. In the example below, the country code of 'US' was input into the 'Default Value' field, which then loads the 'US' option in the form dropdown as default. if the values of the field are changed to instead capture full country names (as per the above instructions) then the 'Default Value' should match the value of your field options, e.g. 'United States' instead of 'US.

  • Country List - JSON Upload File
    7 KB Download

Articles in this section

  • Adding a reCAPTCHA Box to Your Form
  • Adding Multi-Language Forms
  • Adding Multi-Language Forms - Global Forms
  • Country List Form Field
  • Dynamic Content Form Field Type - Global Forms
  • Dynamic Thank You Page Content - Global Forms
  • Form Lookups - Facebook Sign In
  • Form Lookups - Facebook Sign In - Global Forms
  • Hosting a Convertr Form On Your Own Page
  • How to detect and prevent Bot and fraudulent activity
See more

Related articles

  • Using JSON to Add Jobs to a Campaign
  • Dynamic Content Form Field Type - Global Forms
  • Global Forms
  • HTTP Integration Examples: Hubspot Forms
  • How to Duplicate a Campaign
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request
Return to top

Related articles

  • Using JSON to Add Jobs to a Campaign
  • Dynamic Content Form Field Type - Global Forms
  • Global Forms
  • HTTP Integration Examples: Hubspot Forms
  • How to Duplicate a Campaign
Convertr