Re: Workaround for file upload with validate quirk

From: Date: Tue, 01 Nov 2005 04:13:23 +0000
Subject: Re: Workaround for file upload with validate quirk
References: 1 2 3  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-21722@lists.php.net to get a copy of this message
On 10/30/05, Dan Rossi <pear@electroteque.org> wrote: > > On 31/10/2005, at 7:31 AM, Justin Patrin wrote: > >> > >> > > > > 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. > > > > -- > > > > Thats a bit obvious, but mebbe is there a way for quickform to > generate an alert message to reupload the file ? > 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 Patrin

« previous php.pear.general (#21722) next »