PrepAway - Latest Free Exam Questions & Answers

Which of the following code segments can be used to check the form validity?

Which of the following code segments can be used to check the form validity?

PrepAway - Latest Free Exam Questions & Answers

A.
if (Zend_Form::isValid($_Post)) {
// success!
} else {
// failure!
}

B.
if (Zend_Form->isValid($form)) {
// success!
} else {
// failure!
}

C.
if ($form->isValid($_POST)) {
// success!
} else {
// failure!
}

D.
if (Zend_Form::isValid($form)) {
// success!
} else {
// failure!
}

Explanation:

One Comment on “Which of the following code segments can be used to check the form validity?


Leave a Reply

Your email address will not be published. Required fields are marked *