Unfortunately you cannot.  It's a read only field because of security
reasons.  Imagine a programmer was able to fill that in with whatever
they want and then do a form.submit().  poof, they could take whatever
file they wanted.

~Terry 

-----Original Message-----
From: Joy Holman [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 11, 2007 12:15
To: CF-Talk
Subject: How display value of form input file with type=file when user
returned to prefilled form after validation error?

Does anyone know of a way to redisplay what was entered in the field
where a user browsed to a file to upload and then returns to the form
entry screen after submission b/c of validation errors?

The user has to rebrowse to the file to upload each time they are
returned to the previously filled form entry screen. 

I don't see any way to add a "value" attribute to the input form field
when the type=file.

Thanks.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:275027
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to