Top "Zend-form" questions

`Zend\Form` is a class provided by the Zend Framework, an open source PHP 5 object oriented framework.

Zend Framework - Set 'selected' value in select box dropdown list

I am adding a select element to a Zend_Form instance as follows: $user = $form->createElement('select','user')-&…

php zend-framework zend-form html-select
Get post data, Zend Framework

I want to fetch posted data. But I am using no form. The data is postet by a jquery script …

php zend-framework zend-form
Zend Framework: How do I remove the decorators on a Zend Form Hidden Element?

I'm trying to remove the default decorators on a hidden form element. By default, the hidden element is displayed like …

zend-framework zend-form zend-decorators
Zend Form: How to set the length of a text input or textarea element?

By default Zend Form Text elements don't have a width specified. Textarea elements have a default of rows="24" and cols="80". …

zend-form
How to disable a form element in a Zend Form?

I want to display a Zend Form with one of the elements shown as disabled. I'm setting the value so …

html css zend-framework zend-form
Add some html to Zend Forms

Im looking for a simple bit of code that will let me add the following html into my zend form: &…

php zend-framework zend-form
Equivalent of url() helper function in Zend controller

In the Zend view helper, there is the function url() for outputting a URL based on the routing tables eg $…

php zend-framework zend-form
File Upload using zend framework 1.7.4

I am trying to upload a file using Zend Framework 1.7.4, but have not been successful. I have read Akrabat's tutorial, …

php zend-framework file-upload zend-form
zend form email validation

I have the following code to generate an input field for user's email address $email = new Zend_Form_Element_Text(…

zend-framework zend-form email-validation zend-form-element
Zend Form: add error message after form validation

How to add an error message to Zend Form element after the form was already validated? I'm trying to add …

php validation zend-framework zend-form