Forums
This topic is locked
Upload Asp with hidden field.
Posted 01 Apr 2004 18:41:25
1
has voted
01 Apr 2004 18:41:25 Jose Colome posted:
Hi, I have a probleme with Upload ASP.First I save the filename in the db, after that in another page I read the filename form the db and I used Upload ASP code, but I want a Hidden field.
I tried those ways but it doesn´t work.
1.- <input name="file" type="file" value="C:\picture.jpg" style="display: none;" >
2.- <input name="file" type="text" value="C:\1stance_08.jpg" style="display: none;" >
3.- <input name="file" type="hidden" value="C:\1stance_08.jpg">
After that I have a submit button and If I used <input name="file" type="file"> and I browse the picture it works ok.
What I must do to make it work with a hidden field?
Thank U in advance.
Please excuse my english.
Replies
Replied 07 Apr 2004 18:25:34
07 Apr 2004 18:25:34 Stefan P replied:
If I follow what you are saying, perhaps you should code it in a way that it works and then use
<DIV style="display: none; "> </DIV>
tags around the code that does work.
Just a thought...
DMX | ASP | VBScript | ACCESS | IIS5
Edited by - sesame on 07 Apr 2004 18:26:12
<DIV style="display: none; "> </DIV>
tags around the code that does work.
Just a thought...
DMX | ASP | VBScript | ACCESS | IIS5
Edited by - sesame on 07 Apr 2004 18:26:12