[fw-general] Zend_Form and getValidValues

2011-09-15 Thread Sergio Rinaudo
Hello Everyone, I am a bit confused with the "getValidValues" method of Zend_Form. I am using ZF 1.11.10. I'll explain my problem: I'm trying to get all the valid values of the $data array. $isValid = $form->isValid( $data ); if( $isValid ) { $validValues = $form->

Re: [fw-general] Zend_Form and getValidValues

2011-09-19 Thread Konr Ness
I don't think getValidValues() is the right method for your needs. When you call isValid($data) on a form, the form elements are populated and validated. getValidValues() is expecting a parameter of $data as well, but in looking through the code it looks like it passes on values that don't exist i

RE: [fw-general] Zend_Form and getValidValues

2011-09-19 Thread Sergio Rinaudo
yet." so maybe you cannot see it. However, thank you for your answer, is always good to have some good advice from a friend! Regards Sergio Rinaudo > Date: Mon, 19 Sep 2011 14:11:14 -0500 > Subject: Re: [fw-general] Zend_Form and getValidValues > From: konrn...@gmail.com &