Hi
I'm trying to create a calendar control with the date picker control.
public function parameterFields() {
$tree = new TreeDropdownField('Expertise', 'Select Expertise', 'SiteTree');
$tree->setTreeBaseID(3);
$calendar = new DateField('ArticleDate', 'Article Date');
$fields = new FieldList(array($tree,$calendar));
return $fields;
}
I have added the field but the calendar date picker does not display when you click on the field.
thanks