Re: Workaround for file upload with validate quirk
| From: | Dan Rossi | Date: | Tue, 01 Nov 2005 10:27:35 +0000 |
| Subject: | Re: Workaround for file upload with validate quirk | ||
| References: | 1 2 3 4 5 6 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-21727@lists.php.net to get a copy of this message | ||
why to the renderers ? Not the QF rules ?
How bout somethinj like this
$this->form->addRule('thefile','File Required','uploadedfile','Please reupload your file');
Sorry but it should have been thought of already dont you think ?
On 01/11/2005, at 8:43 PM, Mark Wiesemann wrote:
Dan Rossi wrote:Logically QF should have this hook :P Should i add it as a feature request ?I'm pretty sure that such an request wouldn't be accepted. You would need to have localized versions of the "reupload message" in QF and it must be added to all QF renderers. If you would do it yourself, you'd just need to add a few lines to your own code. Mark -- PEAR General Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php