iceangel89 wrote:
> 
> i found out that validation only works if the $this->t = new ... ("t" ...)
> both "names" must be the same
>                                                                               
>  
> ^                 ^
> 
> $this->t = new Zend_Form_Element_Text("t", array (
>     ...
>     'validators' => array('Int', new Lab_Validator_AllocationBalance())
> ));
> 
> how can i fix this? cos i am dynamically adding elements to a display grp
> using 
> 
> $this->getDisplayGroup("labAllocation")->addElement(new
> Zend_Form_Element_Text("balance", array ( ... ...
> 
> so they have no "variable names" as in $this->var so i cant get validation
> to work?
> 

-- 
View this message in context: 
http://www.nabble.com/Validation-not-working-...-tp23398640p23398645.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to