Re: Workaround for file upload with validate quirk
| From: | Dan Rossi | Date: | Tue, 01 Nov 2005 08:19:50 +0000 |
| Subject: | Re: Workaround for file upload with validate quirk | ||
| References: | 1 2 3 4 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-21725@lists.php.net to get a copy of this message | ||
Logically QF should have this hook :P Should i add it as a feature request ?
On 01/11/2005, at 3:13 PM, Justin Patrin wrote:
On 10/30/05, Dan Rossi <pear@electroteque.org> wrote:On 31/10/2005, at 7:31 AM, Justin Patrin wrote:QF doesn't do anything like this. However, it shouldn't be hard at all for you to implement one. If validation fails and the form was submitted you display an alert. Simple. -- Justin PatrinThats a bit obvious, but mebbe is there a way for quickform to generate an alert message to reupload the file ?It is AFAIK impossible to populate a file field in an HTML form with a value. The user just needs to choose their file again every time. --