Jump to:

2011 Posts in 1436 Topics by 620 members

Form Questions

SilverStripe Forums » Form Questions » showcalendar on DateField by default

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 279 Views
  • spekulatius
    Avatar
    Community Member
    4 Posts

    showcalendar on DateField by default Link to this post

    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

    279 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.