Return to Snippet

Revision: 46411
at May 18, 2011 19:37 by furehead


Initial Code
$countryDD = new CountryDropdownField('iso_3166_countryCode', 'Land', $value="DE");
$countryDD->setHasEmptyDefault(true);
$countryDD->setEmptyString('Land');

$fields->push($countryDD);

Initial URL


Initial Description


Initial Title
Country Selector DropDown Silverstripe

Initial Tags


Initial Language
PHP