From: Matthew B. <mat...@ou...> - 2006-07-20 13:45:21
|
Peter Crowther wrote: >> From: Matthew Buckett >> Then all the outputted date selection boxes have an extra class added: >> >> <input type=text name=test class=datetime> >> >> which means that they then get the calendar widget added. > > Note that this will interact poorly with my mods in 2.8 that add a time > field. You may wish to see whether the fix is as simple as altering > what's emitted in Facility::outputDateInput - you might just have to add > "class=datetime" to the attributes of the date box for it to Just Work. That should work as the calendar widget does both date and time. If you add just class=date then you can't select the time I think. -- -- Matthew Buckett, VLE Developer -- Learning Technologies Group, Oxford University Computing Services -- Tel: +44 (0)1865 283660 http://www.oucs.ox.ac.uk/ltg/ |