Hi,
I'm trying to build a custom form for a page with a country dropdown and I can't get it to show the country I want selected rather than just the first entry.
new CountryDropdownField(
$name = 'Country',
$title = 'Country',
$value = 'US'
)
I noticed the the API I can call $isSelected but I not sure where/how to implement this. The userforms module now has a country dropdown but again I cant see where to set the default country.
Thanks