Jump to:

2011 Posts in 1436 Topics by 620 members

Form Questions

SilverStripe Forums » Form Questions » Can't ->SaveInto() an object containing an SSDateTime

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

Page: 1
Go to End
Author Topic: 1441 Views
  • mobius
    Avatar
    Community Member
    54 Posts

    Can't ->SaveInto() an object containing an SSDateTime Link to this post

    I have a form with a PopupDateTimeField, and a dataobject with a SSDatetime, but if I try and run

    $form->SaveInto($release)

    I get the error [Notice] Undefined property: Release::$DeliveryTime.

    This also happens if i change it to just date, but not if i change it to text (but of course then the date functions don't work)

    How do I get this to work?

    1441 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.