Just a small question regarding how zend_form works...

I understand that to validate submitted data against a form we use something
like:
$form->isValid($_POST)

However, then to work with the acual data we use:
$form->getValues();

I don't really understand why in the first instance we are passing the
posted data to the form object, while in the second it seems that the data
exists already in the form object, as that is where we are getting it from. 
Make sense?  Any clarification would be appreciated.

Thanks,

S
-- 
View this message in context: 
http://www.nabble.com/Zend_Form-question-tp21145022p21145022.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to