nerdexam
Zend

ZF-100-500 · Question #139

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

The correct answer is C. if ($form->isValid($_POST)) {. See the full explanation below for the reasoning.

Question

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

Options

  • Aif (Zend_Form::isValid($_Post)) {
  • Bif (Zend_Form->isValid($form)) {
  • Cif ($form->isValid($_POST)) {
  • Dif (Zend_Form::isValid($form)) {

How the community answered

(65 responses)
  • A
    14% (9)
  • B
    8% (5)
  • C
    74% (48)
  • D
    5% (3)

Community Discussion

No community discussion yet for this question.

Full ZF-100-500 Practice