The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Downloading using Forms & multiple Options
Anthony
post 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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Sep 12 2006, 01:57 PM
Post #2


.
********

Group: WDG Moderators
Posts: 7,691
Joined: 10-August 06
Member No.: 7



See http://htmlhelp.com/faq/html/forms.html#form-navmenu and maybe also http://htmlhelp.com/faq/html/links.html#download-howto
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Anthony
post Sep 12 2006, 03:12 PM
Post #3





Group: Members
Posts: 3
Joined: 12-September 06
Member No.: 114



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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Sep 12 2006, 03:49 PM
Post #4


Don't like donuts. Don't do MySpace.
********

Group: WDG Moderators
Posts: 17,744
Joined: 9-August 06
Member No.: 6



Follow the link in the first FAQ Christian linked to.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post Sep 12 2006, 05:58 PM
Post #5


WDG Member
********

Group: Root Admin
Posts: 8,257
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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Sep 13 2006, 05:55 AM
Post #6


.
********

Group: WDG Moderators
Posts: 7,691
Joined: 10-August 06
Member No.: 7



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
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 19th October 2017 - 04:11 AM