I've made a new form element type of datetime which I'm currently using in one of my modules. I think it would be better placed being part of a form element pack module such as this. Please review and let me know what you think.
| Comment | File | Size | Author |
|---|---|---|---|
| datetime_form_field.tar_.gz | 2.39 KB | Gekiboy |
Comments
Comment #1
dave reidI'd much prefer people use Date API which provides datetime elements for forms.
Comment #2
jenlamptonIt doesn't look like you can use a date api form element unless it's on a field :/
Comment #3
dave reid@jenlampton: Well in the three years since I've had a chance to re-evaluate. I've been planning on backporting the HTML5 date/datetime/time elements to this module, but hadn't filed an issue yet.
Comment #4
thekevinday commentedThere is an old thread here with a patch: #1328650: HTML5 Date Input form elements.
Comment #5
malcomio commentedSeems to be a duplicate of the issue mentioned by thekevinday: #1328650: HTML5 Date Input form elements
There's also #876780: Add Date elements - I've also marked that as a duplicate.