Solved

Upload a file and have path display in input field

Posted on 2004-10-04
2
214 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Supports up to 4K resolution!

The VS192 2-Port 4K DisplayPort Splitter is perfect for anyone who needs to send one source of DisplayPort high definition video to two or four DisplayPort displays. The VS192 can split and also expand DisplayPort audio/video signal on two or four DisplayPort monitors.

Question has a verified solution.

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

Periodically we have to update or add SSL certificates for customers. Depending upon your hosting plan you may be responsible for the installation and/or key generation. In the wake of Heartbleed many sites were forced to re-key. We will concen…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

623 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