Jump to:

1792 Posts in 588 Topics by 560 members

Form Questions

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

Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1299 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?

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