Hi,
I want to have a seperate action to proccess a form, which i have made by
moving the proccess code into a new action, and using ->setAction to make
the form submt to it. On successfull proccessing, it redirects to the
original page, showing the new comment (or whatever)
If the form dosn't validate, how do i display the original page, with the
form errors etc. The origninal page with the form is complex, with
information from the db etc. When i use something like
return $this->render('track');
like i have in the past to display simple pages with just a form in it, the
page throws an error because most of the appropriate view variables havn't
been set (arrays of comments etc)
I'm missing something simple right? there must be a way to display the form
with errors?
incidently, im using a seperate action, because i have more than one form on
the page, and i only want the form i submitted to try and validate. Is this
the best way to achive that?
Thanks heaps,
Will
--
View this message in context:
http://www.nabble.com/Seperate-action-to-proccess-a-form-tp24673119p24673119.html
Sent from the Zend Framework mailing list archive at Nabble.com.