this is the way I'm using

if($this->getRequest()->isPost() && $form->isValid($_POST)){

but I saw most are use 2 IFs to do it

if($this->getRequest()->isPost()){
     if ($form->isValid($_POST)){

is using the first way has draw backs ?
-- 
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/Usage-of-Zend-Validate-with-Zend-Form-tp2301512p2301875.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to