Solved

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

Posted on 1998-11-11
2
175 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …

828 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