Setting Values

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

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