Solved

Upload a file and have path display in input field

Posted on 2004-10-04
2
183 Views
Last Modified: 2013-12-24
I have a page that allows a user to upload an image.  After they have submitted the form, the page refreshes w/  a message that their file has been uploaded.

I want the file name that they user uploaded to appear in the input field.  

How can i get the file name to appear in the input field?

Thank you
0
Comment
Question by:techiebabe
2 Comments
 
LVL 17

Accepted Solution

by:
Tacobell777 earned 250 total points
ID: 12221728
I'm pretty sur eyou cannot do this with CF, I have never tried it with JavaScript, but I'm not sure whether the input type"file" has an attribute called value...

Normally you list the uploaded file above the form field.
0
 

Author Comment

by:techiebabe
ID: 12221872
I didn't think it could be done, however I wanted to double check  -thanks!
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In our day to day coding, how many times have we come across a necessity to check whether a URL is a broken link or not? For those of you that answered countless and are using ColdFusion like myself, then this article is for you.  It will show yo…
Article by: kevp75
Hey folks, 'bout time for me to come around with a little tip. Thanks to IIS 7.5 Extensions and Microsoft (well... really Windows 8, and IIS 8 I guess...), we can now prime our Application Pools, when IIS starts. Now, though it would be nice t…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question