CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 File Upload Field Value Wont Persist

Print topic Send  topic

Author Message
Pinochet


Posts: 13
Posted: 07/23/2004, 2:28 PM

Was wondering why the file upload field wont persist from one submit to another. I have a few fields plus a file upload field. Other fields are required. When I leave a field blank and select a file to upload and then submit everything works, form validates, I get empty field error, but the file upload form field resets to blank. Is this by design, did I forget something?

Thanks
_________________
don't worry it doesn't mean anything anyway
View profile  Send private message
Pinochet


Posts: 13
Posted: 07/23/2004, 2:52 PM

Is the File Upload Objects value property read only after a submission. Meaning at runtime I can't manually insert a value?

Obviously, this is my first attempt at using the file upload component.

If it helps I'm using the ADODB.Stream vbscript version and it works fine, updates my folders and database with the correct file and values.

Just can't seem to get the field value to persist....


_________________
don't worry it doesn't mean anything anyway
View profile  Send private message
peterr


Posts: 5971
Posted: 07/26/2004, 10:42 AM

I believe that the HTML specifications of the upload object ("INPUT type=file") don't allow this for security reasons. The filename value is read-only.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
rrrrrrrrrrr
Posted: 09/16/2004, 6:10 AM

:(

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.