Re: HTML_Quickform and Renderer - no error-messages?
| From: | Tobias Daur | Date: | Thu, 22 Feb 2007 18:00:55 +0000 |
| Subject: | Re: HTML_Quickform and Renderer - no error-messages? | ||
| References: | 1 2 3 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-26644@lists.php.net to get a copy of this message | ||
Hi Alexey, Hi Brett,
Have you tried accepting the renderer after you run $form->validate()?
And that's exactly how it should be used, 'cause validate() is *the* method that actually assigns error messages to fields.Whow - you are right. It is self-evident that you have to call it afer validate(). But it didn't think about this point up to now ;) Thanks Tobias