stack Posted October 10, 2007 Share Posted October 10, 2007 I'm faced with presenting <input>s for several datetime fields within a form and I'm left scratching my head on how to present the inputs for entry. I've gotten the following layout [ 09/10/2007 ]<img btn> [12 |V]:[00 |V] [am |V] Calendar input w/ calendar popup and image, then hour select, then minutes separated every 5 minutes, then am/pm selection. This breaks the whole set of data into four separate controls. I'm kind of happy with this but I figure someone has run into the date & time entry issue before and might have come up with a more elegant solution than mine. Quote Link to comment https://forums.phpfreaks.com/topic/72630-how-do-you-present-inputs-for-date-time-entry/ Share on other sites More sharing options...
lemke411 Posted October 16, 2007 Share Posted October 16, 2007 If you have the option to do some new work try using JQuery. I skimmed through and they have a time and date picker available. This is quite new and there is only one book out there now but this would be worth learning. I use drop down boxes for time input and a textbox for date with a javascript date picker go to dynamic drive for free javascript help code. Quote Link to comment https://forums.phpfreaks.com/topic/72630-how-do-you-present-inputs-for-date-time-entry/#findComment-370925 Share on other sites More sharing options...
ToonMariner Posted October 17, 2007 Share Posted October 17, 2007 alternatively you could ensure that the site works without javascript and create some select boxes... Quote Link to comment https://forums.phpfreaks.com/topic/72630-how-do-you-present-inputs-for-date-time-entry/#findComment-371419 Share on other sites More sharing options...
AndyB Posted October 17, 2007 Share Posted October 17, 2007 http://www.rainforestnet.com/datetimepicker.htm - works fine for me and highly configurable Quote Link to comment https://forums.phpfreaks.com/topic/72630-how-do-you-present-inputs-for-date-time-entry/#findComment-371466 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.