Re: Re: upload file - clients path to file?

From: Date: Tue, 30 Aug 2005 10:37:03 +0000
Subject: Re: Re: upload file - clients path to file?
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-221580@lists.php.net to get a copy of this message
IMHO this is just a design issue, why not just hide the upload field, display a message that they need not re-upload, and just add a hidden field with the name of the uploaded file and once they've corrected their fields, they re-post, and viola, you've got your file still. angelo@zlogic.co.za wrote: >Thanks for the replies. > >Well basically i need it for an "add products" page and if the users doesnt fill >in all the fields correctly I display some error message as well as populate the >textfields and dropdown lists with the values they previously entered, so if >they entered/selected the file I want to display it again so they don't have to >upload the file again. I know that I could do it without the user knowing >(backed) but then they might think they have to select the file again because >the upload field will be blank. >

« previous php.general (#221580) next »