Re: Capturing form errors

2008-12-10 Thread Reggie Mason
Use $form->isFieldError() in your view to check if there is an error for the field, and use $form->error() to display the error message. -ReggieB On Dec 10, 2:19 am, "Arthur Pemberton" <[EMAIL PROTECTED]> wrote: > When using the form helper to bind controls to data, validation errors > are helpf

Capturing form errors

2008-12-10 Thread Arthur Pemberton
When using the form helper to bind controls to data, validation errors are helpfully passed onto the page. How do I replicate this for custom controlls (PHP in the views)? Thank you. -- Fedora 9 : sulphur is good for the skin ( www.pembo13.com ) --~--~-~--~~~---~--~