Which of the following code segments can be used to check the form validity?
if (Zend_Form::isValid($_Post)) {
// success!
} else {
// failure!
}
if (Zend_Form->isValid($form)) {
if ($form->isValid($_POST)) {
if (Zend_Form::isValid($form)) {
Submit