Hi Paul, I found what I need by try and error. My goal was to assure that a datetime field is filled with data in special way. I need to set the date and timeformat (DMY, 24hrs) and also the interval to assure only full hrs are able to be set. My app is to do some hotel/hostel like booking and management. Customers are to come in at 12 and leave at 10 o clock.
So I only need the full hr with no minutes to be able to choos. Got this using options interval 60 Even better would be if I can manipulate the view to set the date dynimacal as usal but fix the time part of datetime to be 10:00 for the last day and 12:00 for the first day of a booking. Here I have no solution so far but somethingh in mind like getting the current date/time split it up into date and time create own time to be 10 or 12 and rejoin both to one timestamp before passing to the view as default value. Hve not tried this so far but think it might be a way to go ... Thanks so far and also for any idea you might add. CU Michael On 7 Apr., 09:46, WebbedIT <[email protected]> wrote: > Not sure if I understand the request. Any chance of providing an > example of what select lists would be shown and what there options may > be? > > HTH > > Paul Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en To unsubscribe, reply using "remove me" as the subject.
