Solved

Upload a file and have path display in input field

Posted on 2004-10-04
2
160 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
Comment Utility
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
Comment Utility
I didn't think it could be done, however I wanted to double check  -thanks!
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Most ColdFusion developers get confused between the CFSet, Duplicate, and Structcopy methods of copying a Structure, especially which one to use when. This Article will explain the differences in the approaches with examples; therefore, after readin…
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

744 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now