Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Userdefinedform fields to support time/datetime?

Our old forums are still available as a read-only archive.

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

Page: 1
Go to End
Author Topic: 1376 Views
  • Sigurd
    Avatar
    Forum Moderator
    628 Posts

    Userdefinedform fields to support time/datetime? Link to this post

    Userdefinedforms seem to allow date fields but not time or date-time.

    Is this easy to add? E.g. the date field could have an option to either be "date-only, datetime, or time-only" (rather than clutter up the addfield option with lots of similar field types).

    Also, a tickbox for 'default to current date/time' would seem very sensible, and you would tick it by default

  • Sigurd
    Avatar
    Forum Moderator
    628 Posts

    Re: Userdefinedform fields to support time/datetime? Link to this post

    *shout out the whole world*

    Who wants to create a patch for this, then?

  • Willr
    Avatar
    Forum Moderator
    5462 Posts

    Re: Userdefinedform fields to support time/datetime? Link to this post

    I think you can do it sig.. I mean its not like your doing anything else, you have tooons of free time hehehe

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