Re: Workaround for file upload with validate quirk
| From: | Mark Wiesemann | Date: | Tue, 01 Nov 2005 10:35:25 +0000 |
| Subject: | Re: Workaround for file upload with validate quirk | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-21728@lists.php.net to get a copy of this message | ||
Dan Rossi wrote:
> why to the renderers ? Not the QF rules ?
>
> How bout somethinj like this
>
> $this->form->addRule('thefile','File
> Required','uploadedfile','Please
> reupload your file');
Okay, that would be the easiest solution. But I don't think that this
should be outputted as an _error_ message. I see this as a notice (or a
warning) but not an error.
And: Do you really think that people don't know this behaviour of file
form elements?
Mark