zend-form-element
Need a Zend_Form_Element that only stores a value
I have an array of options for a select list. $options = array( 1=>\'Option1\', 2=>... ); But if I only have one option, I rather want either:[详细]
2023-03-29 12:15 分类:问答Title for zend framework input elements
Hi, I\'m trying to add a title attribute to the inp开发者_Python百科ut element created this way $this->createElement(\'text\', \'tv_id\', array([详细]
2023-03-29 08:30 分类:问答Zend form change elements required options to false at runtime
I have a form and having two file upload elements. it is like $data_file_one = $this->createElement(\'file\',\'data_file_one\');[详细]
2023-03-26 02:39 分类:问答Is there a way to add a group of elements to a form?
I\'m wondering if there was a way to add a group of elements to a zend form as if they were one element, I guess much like a subform, but it seems the functionality of a subform may be too much...[详细]
2023-03-23 16:34 分类:问答Zend Framework: Captcha problem
Iam using following code to generate CAPTCHA : $captcha = $this->createElement(\'captcha\', \'captcha\',[详细]
2023-03-22 05:00 分类:问答Zend Framework: Errors are not visible/displayed
I have following form class: $username = new Zend_Form_Element_Text(\'username\'); $username-开发者_如何学Go>setLabel(\'Username:\')[详细]
2023-03-20 12:19 分类:问答Zend Framework: Zend_Form is not including 'name' attribute in form tag
I have following class for a form: class Application_Form_ContactForm extends Zend_Form { public function init()[详细]
2023-03-19 18:34 分类:问答Get name of a Zend_Form_Element in FormErrors Helper
I have a MyNameSpace_View_Helper_FormErrors Class which extends the standard FormErrors Class and sets the HTML for the ErrorMessage itself.[详细]
2023-03-13 05:03 分类:问答Render formatted numeric value in Zend_Form text field
I have a text field in a Zend_Form that contains a numeric value. I would like that value to be rendered as though it had been run through number_format(). For example, if the value in the field is 12[详细]
2023-03-12 23:28 分类:问答Zend form element errors not display
I have a simple contact form.When I submit form error messages not display.Pls help me class Users_Form_ContactForm extends Zend_Form{[详细]
2023-03-11 09:31 分类:问答