Date Field Values

4 posts by 3 authors in: Forums > CMS Builder
Last Post: March 25, 2010   (RSS)

Re: [gkornbluth] Date Field Values

By Chris - March 19, 2010

Hi Jerry,

There's currently no way to make the time components of a date field optional if the date field is "user specifies time". I wonder if you could get away with defaulting to 12:00:00 AM or some such "meaningless" time?

You can accomplish quite a lot of interesting date/time defaults by using the Default Value = "Specify custom date" option. Try this:

now 00:00:00

An alternative might be to uncheck "user specifies time" and use a separate "text" field for the time.

I hope this helps. Please let me know if you have any questions.
All the best,
Chris

Re: [chris] Date Field Values

By gkornbluth - March 20, 2010

Thanks Chris,

I'll give it a try

They would be nice options though.

Jerry
The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php

Re: [gkornbluth] Date Field Values

By InHouse - March 25, 2010

I'm with Jerry on this one. The date/time field could be dressed up a bit with some options.

I've run into this issue in a few shapes over time. Would love to be able to mask the date field in the Admin area, or feed data into that field from a public form without requiring extra handlers for the time or just the seconds.

J.