Código
$form = $this->getAddCommentForm (); if ($this->getRequest ()->isPost ()) { if ($form->isValid ( $_POST )) { $values = $form-> getValues(); $this->view->values = $values; //otras cosas } } $this->view->title = 'Comentarios'; $this->view->form = $form; /// <?php if($this->values) : ?> <h3>Has enviado los siguientes valores:</h3> <ul> <?php foreach ($this->values as $value) :?> <li> <?php echo $this->values; ?> </li> <?php endforeach; ?> </ul> <?php endif; ?> <?php echo $this->form; ?>