Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Form Questions /

showcalendar on DateField by default


Reply


378 Views

Avatar
spekulatius

Community Member, 5 Posts

13 March 2014 at 1:57pm

Hello,

I'm generating almost all of my forms from the DataObjects I implemented by using the getFrontendFields-Function:

$fields = $dataObject->getFrontendFields();

Those fields include DateFields sometimes. I would like to use the integrated option for the 'showcalendar' without adjusting all fields manually. Does anyone know a way to set the configuration by default to true for the key 'showcalendar'?

Regards,
spekulatius