Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How can I let users browse for a filename

Guest
Jun 23, 2008 Jun 23, 2008
I'm working on an admin page, adding and editing menu items in a database driven menu system. To make it easier for system admins to create a link, I need to have a text input field with a browse button next to it. When the user clicks the button a standard browse window opens and they find their file. Here is where the catch comes. I don't want to upload the file, just grab the filename and put it in the text input field.

I feel like some combination of CF and Javascript should do that, but I can't find anything and my Javascript is at a fairly low level.

Can anyone give me a tip or actual code they may have worked on to accomplish a task similar to this?

Thanks,
173
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jun 24, 2008 Jun 24, 2008
LATEST
Hi Grandpa_Loyd,

I had some files of tests that made that.
see if it help.
http://www.tofinha.com.br/testes/seleciona_imagem_form.cfm
The sources: http://www.tofinha.com.br/testes/selecionaImagens.zip

don't repair in the code, because makes a time already :-D
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources