Setting Values

You must set the country field type value with a valid ISO-2 country code from the available options.

$entry->example = "US";
**Note:** The value is case **insensitive** and is uppercased when set.