-- Alex Howansky <[email protected]> wrote
(on Monday, 28 February 2011, 02:09 PM -0500):
> What does Zend_Form::isValid() do with posted parameters that have
> no matching attribute? Does it just ignore them?
> 
> I.e., if I post valid values for all required fields, plus some
> extra parameters that the form has no matching attribute for, will
> isValid() pass?

Yes. But the values will not be returned when you execute getValues() --
only those defined in the form will.

-- 
Matthew Weier O'Phinney
Project Lead            | [email protected]
Zend Framework          | http://framework.zend.com/
PGP key: http://framework.zend.com/zf-matthew-pgp-key.asc

Reply via email to