Downloading using Forms & multiple Options |
Downloading using Forms & multiple Options |
Anthony |
Sep 12 2006, 01:18 PM
Post
#1
|
Group: Members Posts: 3 Joined: 12-September 06 Member No.: 114 |
Hi,
Can someone please help or advise me, about 5 or 6 years ago I use to make forms that had multiple options(from a dropdown list) for selecting a file and then clicking a submit button to download the file. Basically I'm after members of a club downloading instruction manuals without having a long list of links to separate files, its just to keep the webpage looking nice and neat. I've forgotten how to do the coding of it, after many attempts I still haven't got it working correctly. Many thanks in advance. Cheers Tony. |
Christian J |
Sep 12 2006, 01:57 PM
Post
#2
|
. Group: WDG Moderators Posts: 9,656 Joined: 10-August 06 Member No.: 7 |
|
Anthony |
Sep 12 2006, 03:12 PM
Post
#3
|
Group: Members Posts: 3 Joined: 12-September 06 Member No.: 114 |
See http://htmlhelp.com/faq/html/forms.html#form-navmenu and maybe also http://htmlhelp.com/faq/html/links.html#download-howto Hi Christian, The code on the links you gave was for single files, I'd like one to download a single file but an option from several choices similar to this. CODE <!-- Start of FORM --> <form method="get" enctype="No Method used" action="get"> <select name=""> <option selected="" value=""></option> <option value="">File 1</option> <option value="">File 2</option> <option value="">File 3</option> <option value="">File 4</option> </select> <input type="submit" value="Get File"> </form><!-- End of FORM --> It's a wierd one to code and get working correctly... Cheers. Tony. |
pandy |
Sep 12 2006, 03:49 PM
Post
#4
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,731 Joined: 9-August 06 Member No.: 6 |
Follow the link in the first FAQ Christian linked to.
|
Darin McGrew |
Sep 12 2006, 05:58 PM
Post
#5
|
WDG Member Group: Root Admin Posts: 8,365 Joined: 4-August 06 From: Mountain View, CA Member No.: 3 |
Specifically, the FAQ How can I use forms for pull-down navigation menus? tells you how to make a form act like a link, and the FAQ How do I let people download a file from my page? tells you how to let people download files (i.e., just create a link to them). So really, only the first FAQ is necessary; the second one just tells you that the first one is all that you need.
|
Christian J |
Sep 13 2006, 05:55 AM
Post
#6
|
. Group: WDG Moderators Posts: 9,656 Joined: 10-August 06 Member No.: 7 |
So really, only the first FAQ is necessary; the second one just tells you that the first one is all that you need. Yes, and maybe http://htmlhelp.com/faq/html/links.html#force-download would've been a better choice than http://htmlhelp.com/faq/html/links.html#download-howto |
Lo-Fi Version | Time is now: 26th April 2024 - 09:10 AM |