You are here: Re: How to retain user input in a form file field ? « HTML « IT news, forums, messages
Re: How to retain user input in a form file field ?

Posted by David Dorward on 06/09/06 16:09

Yohan N. Leder wrote:
> Hi. Considering a form containg some input text fields, some checkboxes
> and an upload file field. After submission, when I'm back to the form,
> all values are retained unless the file field one. Is there a tips to do
> this field behavior be the same as the other ?

You can't set it (for security reasons), but you have the file on the
server already. Keep track of where it on the server (give it a
randomly generated filename or something), then give the user the
option to keep or delete the file they've already uploaded (or replace
it, or whatever).

 

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

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