Help - Search - Members - Calendar
Full Version: Downloading using Forms & multiple Options
HTMLHelp Forums > Web Authoring > General Web Design
Anthony
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.
Anthony
QUOTE(Christian J @ Sep 12 2006, 07:57 PM) *


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
Follow the link in the first FAQ Christian linked to.
Darin McGrew
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
QUOTE(Darin McGrew @ Sep 13 2006, 12:58 AM) *

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
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.