Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Date Form Element for Zend Framework Version 1.1.12

Is there anything that I can use for Zend Framework version 1.1.12 that would be equivalent to the Date Form Element in Zend Framework version 2?

I can't find any homebrewed examples on the internet. Maybe someone knows someone that implemented this?

like image 989
somejkuser Avatar asked Feb 23 '26 20:02

somejkuser


1 Answers

http://framework.zend.com/manual/1.12/en/zend.form.standardElements.html show Zend Freamwork 1 standard elements. It does not provide a standard form element for date.

You have the following options:

  1. Use Zend_Form_Element_Text field with date validation.
  2. Make 3 drop downs for dd-mm-yyyy using Zend_Form_Element_Select elements.
  3. Use ZendX_JQuery Form Elements and Decorators and make datepicker.
like image 58
Dinuka Thilanga Avatar answered Feb 25 '26 10:02

Dinuka Thilanga



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!