Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Preset value in file object

Status
Not open for further replies.

Faheemi

Programmer
Sep 2, 2001
59
HK
Hi there,

I want to be able preset a value in HTML file object. The following tag does not work fo me

<input type=&quot;file&quot; name=&quot;Thumb_Image&quot; size=&quot;30&quot; value=&quot;c:\temp&quot;>

My idea is I am storing a value in an Application variable in ASP. The value would be the user's default image directory.

When the user create or modify a product record
I want to preset the product_image file object to the
application variable + the product article no + &quot;.jpg&quot;

So that the user does not need to worry about selecting the image manually.

OR

is there any other way I can use a hidden field in the form that stores the above value and send a hidden field as file object to the server??

In other words can I use hidden file objects?

I am using aspSmartUpload component to do this and Win2k or IIS 4.x

Thanks a lot for your help

Hameed

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top