zend-form Questions
5
Solved
I have a class that extends Zend_Form like this (simplified):
class Core_Form extends Zend_Form
{
protected static $_elementDecorators = array(
'ViewHelper',
'Errors',
array('Label'),
array('...
Sparke asked 17/12, 2008 at 22:0
1
Solved
i am using zend validations in my form and i could not validate a multi select box in my form.
This is my multi select element in the form:
$days = new Zend_Form_Element_Select('day');
$days->...
Deeannadeeanne asked 23/4, 2011 at 13:46
2
Solved
I'm working on a project using Zend Framework.
I'm creating a form on which users can add a set of elements by pressing a + sign.
Zend framework uses subforms and decorators to get array of value...
Roux asked 12/4, 2011 at 8:19
14
Solved
I've read the manual many times, I've scoured the posts offered by Google on the subject, I have even bought a couple of books that deal with ZF. Now, why am I still confused?
I can, using Zend_Fo...
Nonpareil asked 11/2, 2009 at 0:1
2
Solved
i have 4 subforms in a form i would like to group 2 of them together, and then apply some decorators to them.
here is what i have so far. w/in each subform i already have some display groups prese...
Henghold asked 23/2, 2011 at 20:39
1
Solved
In normal html, we could have an array field like person[]
<input name="person[]" type="text" />
<input name="person[]" type="text" />
<input name="person[]" type="text" />
As ...
Sabec asked 7/2, 2011 at 14:17
1
Solved
I have a Zend form to add something to database. And then I want to use this form to edit what I added to the databese. Is any possibility to use this form (fill it from database and display it???)...
Kedah asked 29/1, 2011 at 22:45
2
Consider I would like to display
Checkbox, Checkbox label and an image there after.
How can I create a view for the same using Zend Engine Form
I tried as follows
$this->addElement(
'Chec...
Sezen asked 2/12, 2010 at 5:37
2
Solved
I have built a form builder, and I need the ability to assign description to every option in a radio element. Upon creation of this radio element, I ask the user to assign each value a description,...
Tootle asked 13/12, 2010 at 19:39
3
Solved
Iam facing a typical issue with a form submit using Zend framework. Basically I have written a simple code to login a user, but this came out of the blue.
The code to show the form is pretty stand...
Abstruse asked 14/12, 2010 at 0:4
5
Solved
I add this class to library/My/Validate/PasswordConfirmation.php
<?php
require_once 'Zend/Validate/Abstract.php';
class My_Validate_PasswordConfirmation extends Zend_Validate_Abstract
{
const...
Templetempler asked 5/3, 2010 at 21:11
3
Solved
I am creating multiple select element like this and it is showed successfully on form:
$element = new Zend_Form_Element_Multiselect('clinics');
$element->setLabel("Clinics");
$element->setAt...
Buttock asked 29/10, 2010 at 13:54
3
Solved
The Zend Framework is mainly meant for MVC use. One of the very usefull components is Zend_Form.
I have a bit trouble finding the place of Zend_Form. Is it part of the view, model, or controller a...
Garate asked 21/10, 2010 at 12:40
2
Solved
I'm validating a text field in my form as follows:
$name = new Zend_Form_Element_Text('name');
$name->setLabel('First Name:')
->setRequired(true)
->addFilter(new Zend_Filter_StringTr...
Diarmid asked 15/3, 2010 at 21:47
3
Solved
I have the following form:
<?php
class Application_Form_RegistrationForm extends Zend_Form{
public function init(){
$country = $this->createElement('select', 'country');
$country->se...
Copp asked 8/10, 2010 at 12:38
1
Solved
Is there any real difference between the behavior or output of these 2. They look to me like they do the same thing.
->addValidator('NotEmpty')
->setRequired(true)
Townspeople asked 6/10, 2010 at 10:15
2
Solved
I have a zend form instantiated
$form = Form_Example();
Now I want to pass an ID from my controller to my form.
So I did this:
$form = Form_Example(array('id' => $id));
Inside the form I...
Monstrosity asked 5/10, 2010 at 11:11
2
Solved
For the purposes of styling I have the need to put an opening <div> at the beginning of one element, and a closing </div> tag at the end of another. Looking over the docs for HtmlDecora...
Natividad asked 3/10, 2010 at 1:29
7
Solved
In my form, I'm trying to verify that the user fills in the same value both times (to make sure they didn't make a mistake). I think that's what Zend_Validate_Identical is for, but I'm not quite su...
Osi asked 27/10, 2009 at 3:21
3
I am using Zend Form to create dynamic form.
I have Zend Form validation too.
Trying to remove Validation dynamically, but not getting any success.
Can you plz help me to remove Zend Validation....
Definite asked 10/11, 2009 at 10:36
2
Solved
I am having an incredibly difficult time to decorate a Zend form the way I need to. This is the HTML structure I am in need of:
<table>
<thead><tr><th>one</th><th&...
Misdate asked 28/10, 2009 at 14:38
2
Solved
I am trying to get this Zend Validator to output a link that goes to a resetpass form. At the moment, it is simply outputting the HTML as text. Any ideas on how to get it writing to the page as HTM...
Zygophyte asked 2/5, 2009 at 5:54
4
In my form i have this code;
// Add the submit button
$element = $this->addElement('submit', 'submit', array(
'ignore' => true,
'label' => 'Add new material'
));
$element->removeDeco...
Exceed asked 28/7, 2009 at 19:23
3
Solved
I realize that I should be able to do this, but what can I say, I don't get it. I've even rtfm'ed until my eyes fried. I learn best by examples, not the deep explanations that Zend's docs give, or ...
Loper asked 13/3, 2009 at 17:21
2
Solved
I am rendering in my view a Zend_Form_Element_Select.
$t=new Zend_Form_Element_Select(....);
...
...
echo $t->render();
I get the drop down and the options correctly, but I also get the selec...
Fabricant asked 8/5, 2009 at 3:12
© 2022 - 2024 — McMap. All rights reserved.