Quantcast
Channel:
Viewing all articles
Browse latest Browse all 4235

3.1.3 DateField - Blonde Moment

$
0
0

Hi there,

I have an issue setting the datefield to have three seperate dropdowns. I googled and tried a few alternatives... but with no luck...

here is my code snipped....

function getCMSFields()
{
$fields = parent::getCMSFields();
$dateField = new DateField('DateOfBirth');
$dateField->setConfig('dmyfields',true);
$fields->replaceField('DateOfBirth',$dateField);
return $fields;
}

Please slap me if I done something stupid.... also remember, I am a SS noob...


Posted to: 3.1.3 DateField - Blonde Moment | Show Thread | Post Reply


Viewing all articles
Browse latest Browse all 4235

Trending Articles