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 |
 |
 |
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 |
 |
 |
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 |
 |
 |
rrrrrrrrrrr
|
| Posted: 09/16/2004, 6:10 AM |
|
|
|
|
 |
|