Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Small Script 1

Status
Not open for further replies.

chellweg

IS-IT--Management
Dec 8, 2003
20
US
I currently have a form that give the person the ability to select 5 files to recieve based on 2 fields. a Volume Number and a Track Number. I currently have the form results emailed to me, and then send them the 5 files. I want to creat an ASP that concatenates the Volume and Track values, and then adds the file extension and shows them a result page with the links to click to download those 5 files. An example is as follows:


You pick the following values for the volume and track from the form:
volume:01 Track 05
volume:11 Track 04
volume:21 Track 03
volume:31 Track 01
volume:51 Track 07

These would translate in to href links that point to(respectively):

The Hyperlink would just say: File 1, File 2, File 3, etc.

Is this easy to do? All I have ever done with ASP is cut and paste to fit my needs.
 
Where would I add this into my current HTML, and I am assuming all I would do from there after it is added is change the ext to .asp instead of .htm... If it would help, I can post the form HTML.
 
I think I need some clarification first. You say that they can select 5 files based on 2 fields. Can you elaborate? So is that 10 fields?

As for where to put this - it will go on the asp file you are submitting the form to. And you can put it anywhere on the page. You may need to do some loop to print out all the links. This depends on the answer to my question above.
 
Yes, there are 10 fields... Also, the form is currently using POST, and it is also sending an email to me which I need to continue to get. Is there a number I can call you at or email you for further info? My email is chellweg@laughyourway.com.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top