External form - how to send country via API?

forms

#1

Hi there

I am in need of building a form then submitting via the API (I have done that before), but am just wondering how to send the Country (from a dropdown list) - is it a case of sending a country code or just the full name of the country?

Thanks :slight_smile:

crE


#2

Hi @crE1,

You can send the country value along as a field in your form. The value should match the internal name of the option that corresponds to the country you’re referring to. For the default ‘country’ field, these internal names should match the labels (e.g. United States)