Reputation:
CakePHP FormHelper very helpfully sets up a number of select boxes for the DATETIME fields in an input form, making it possible to choose a precise DATETIME. But, it doesn't really do it for me in terms of quality User Interface.
Is there a way to make this look more pretty and easy to operate? Instead of choosing 5 select fields? Maybe something like a built in time-picker tool or something?
Upvotes: 0
Views: 546
Reputation: 7575
You can use 'type' => 'text'
to the input and then add any javascript date picker you like. There are literally hundreds on google. Quick search and you should have one in no time at all.
Upvotes: 1