control the form in a view. I can get the label, the errors, ... But I just
can't find a way to get the input-fields
echo $this->view->myfield->getLabel();
foreach($this->view->myfield->getMessages() as $error :
echo $error;
endforeach;
...
but I can't get <input name="myfield" ...> without the label, errormessages,
....
-----
visit my website at http://www.phpscriptor.com/ http://www.phpscriptor.com/
--
View this message in context: http://www.nabble.com/render-Zend_Form-in-view-tp25441226p25441226.html
Sent from the Zend MVC mailing list archive at Nabble.com.
没有评论:
发表评论