You are here: Re: input type=file problem (Maybe 0T) « PHP « IT news, forums, messages
Re: input type=file problem (Maybe 0T)

Posted by David Dorward on 08/01/05 00:42

Ryan A wrote:
> The problem is, if she has tried to upload a pic at the same time and
> screwed up on the date of birth I am unable
> to send back the value of the FILE box so that too get populated... I
> tried setting a VALUE="path/file" but that
> does not work.

As has already been pointed out, you can't set the value of the file input.
What you can do though is to keep the image uploaded the first time round,
and send back a form adding a "Keep existing upload" (perhaps along with a
thumbnail of the image), thus saving the user from uploading the image over
and over until they fill in the rest of the form correctly.

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация