Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

Date Select inside Forms

How Do I create an form element to select date?



6.9k

You can use the date element. It will create an <input type="date" /> tag. Beware that it may not work with all browsers. I would recomend you to use a javascript library...

Date Element Object : http://docs.phalconphp.com/en/latest/api/Phalcon%5FForms%5FElement%5FDate.html

jQuery Datepicker : http://jqueryui.com/datepicker/



15.6k
Accepted
answer

>You can use the date element. It will create an <input type="date" /> tag. Beware that it may not work with all browsers. I would recomend you to use a javascript library... > >Date Element Object : http://docs.phalconphp.com/en/latest/api/Phalcon%5FForms%5FElement%5FDate.html > >jQuery Datepicker : http://jqueryui.com/datepicker/

very true. Date Element Object not working in firefox so I agree in using Jquery datepicker