[html-formfu] Specify values for DateTime

Carl Franks fireartist at gmail.com
Fri Nov 26 09:38:03 GMT 2010


On 23 November 2010 16:50, Roger Horne <roger at hrothgar.co.uk> wrote:
> On Tuesday 23 November 2010 15:23:32 Carl Franks wrote:
>> On 23 November 2010 11:33, Rasmus Skaarup <mlist at gal.dk> wrote:
>> > How can I specify which minutes I want available in a
>> > DateTime element? I only want every fifth minute shown in
>> > the drop-down menu.
>>
>> You can't - but it's a good idea.
>>
>> I've just added this feature, ...
>
> It sounds to be just what I need for a time sheet - ie where a
> user can enter the time spent on a job. Will it be possible to
> specify the 'slice' of minutes shown? eg 6 mins (1/10th hour)
> and I suppose 10, 12 and 15 mins could be useful.

The way I've done it (but haven't yet committed) is that the minute
and second fields have an 'interval' setting, which just defaults to
1.

Carl



More information about the HTML-FormFu mailing list