If you split the datetime in a date field and time field, the time field gets a jquery time picker (15mins intervals). You can make a SQLFORM.factory with date and time, then re-assemble then into a datetime in the DB. You can also do the split at the view level.
On Oct 10, 6:21 pm, villas <villa...@gmail.com> wrote: > For a Datetime field... > > On creating a record I wish to use a default date (say today) and > choose only the time (selected from half hour intervals), e.g. > 10:30, 14:00, 19:30 etc. > > On editing a record, I would maintain the date but simply allow the > time to be edited. > > Can anyone make a suggestion to handle that elegantly? > > Thks, David