Solved

Form that sends e-mail & goes to a page on SUBMIT

Posted on 1998-11-11
2
160 Views
Last Modified: 2010-04-09
I'm sure this can be easily done, but I'm kind of new to this and I can't figure it out.  I have a form which must be filled out and submitted in order for the user to download a file.  When they submit, I want the submitted info to be emailed to someone and the browser to advance to a page where they can click on a hyperlink to the "downloadable" file.  It seems very easy to me, but I can't get it to work.  I am using FrontPage98 and if I select email form results, it restricts me to e-mail only and the page stays on the form.

0
Comment
Question by:mgibbons111198
2 Comments
 
LVL 4

Accepted Solution

by:
martinag earned 0 total points
ID: 1839594
<FORM METHOD="POST" ACTION="mailto:you@yourserver.com" onSubmit="setTimeout('location.href=\'download.zip\'', 1000)">

Martin
0
 

Author Comment

by:mgibbons111198
ID: 1839595
Thanks for the quick reply however I'm still stuck.  I tried the suggested code, but it opens a blank email message, it doesn't send the submitted form field data and it does not transfer the file.  I copied the code exactly as it is above and changed the email address to a valid one and the file name to the appropriate one.  One note - it is a selfextracting executable, not a zip if that makes a difference.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now