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?



5.7k

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%5Forms%5Element%5Date.html

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



12.2k
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%5Forms%5Element%5Date.html

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

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