Is there some way to pre-fill a filefield value?
I'm trying this:
<cfloop from="1" to="#filenamelist.recordcount#" index="i">
<cfoutput>#i#</cfoutput><br>
<cfoutput>filenameList.recordcount =
#filenameList.recordcount#</cfoutput><br>
<input name="<cfoutput>#i#</cfoutput>" type="file"
value="<cfoutput>#filenameList.name[i]#</cfoutput>"><br>
</cfloop>
And it gives me the correctly rendered HTML:
<input name="1" type="file"
value="E:\UploadDirectory\2008_0819_sav_mlxchange_image.jpg"><br>
<input name="2" type="file"
value="E:\UploadDirectory\2008_0819_sav_mlxchange_image_data_and_photo_download.jpg"><br>
<input name="3" type="file"
value="E:\UploadDirectory\2008_0819_sav_mlxchange_image_data_download.jpg"><br>
But when the filefields are displayed in the browser,
the filefields are empty.
Is there some way to get the
E:\UploadDirectory\2008_0819_sav_mlxchange_image.jpg to show
up in the dynamically created filefields?
Thanks,
Rick
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311723
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4