Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - form file object problem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

form file object problem

 Post Reply Post Reply
Author
ultramods View Drop Down
Groupie
Groupie
Avatar

Joined: 08 January 2003
Location: Scotland
Status: Offline
Points: 146
Post Options Post Options   Thanks (0) Thanks(0)   Quote ultramods Quote  Post ReplyReply Direct Link To This Post Topic: form file object problem
    Posted: 08 August 2003 at 3:01am

Wondering if anyone can help. Trying to create a user admin where users can update ther details by reading in there current name address etc into form file fields-this works ok. However when i try and read a value into the form object file it doesnt dislay the value on the page.

<input name="PDFLink" type="file" value="<% = rs("PDF_LINK") %>">

Does anyone know how to do this.

Thanks for any help.

Back to Top
MorningZ View Drop Down
Senior Member
Senior Member
Avatar

Joined: 06 May 2002
Location: United States
Status: Offline
Points: 1793
Post Options Post Options   Thanks (0) Thanks(0)   Quote MorningZ Quote  Post ReplyReply Direct Link To This Post Posted: 08 August 2003 at 7:23am

i dont really understand what you are trying to do, but i can tell you that the above line of code you tried absolutely will not work, you cannot "pre fill" a file control, the control is a designed for the user to select a file off their harddrive... not have code go get the file

it'd be a HUGE security hole otherwise

Contribute to the working anarchy we fondly call the Internet
Back to Top
ultramods View Drop Down
Groupie
Groupie
Avatar

Joined: 08 January 2003
Location: Scotland
Status: Offline
Points: 146
Post Options Post Options   Thanks (0) Thanks(0)   Quote ultramods Quote  Post ReplyReply Direct Link To This Post Posted: 08 August 2003 at 7:44am
Ok Thanks, I thought that would be the case but just thought I would check to see if there is any way of by passing it. The reason I want to do it is because the app is on an Intranet. So security in that respect isnt a problem. the reason i wanted to populate the field was so if the users are updating other details and see that field blank, wont be tempted to browse to the file again etc. Also the field doesn't upload a file- just grab the link.

Edited by ultramods
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.