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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

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

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

Userdefinedform fields to support time/datetime?


Go to End


3 Posts   1775 Views

Avatar
Sigurd

Forum Moderator, 628 Posts

9 July 2007 at 10:22am

Edited: 09/07/2007 10:23am

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 :)

Avatar
Sigurd

Forum Moderator, 628 Posts

29 July 2007 at 5:29pm

*shout out the whole world*

Who wants to create a patch for this, then? :)

Avatar
Willr

Forum Moderator, 5523 Posts

29 July 2007 at 5:33pm

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