Re: Form question
by Matthew Ohlman <matthew(at)ohlman.com>
|
Date: |
Wed, 03 Oct 2001 16:43:31 -0500 |
To: |
Keith(at)webgraffix.com |
Cc: |
hwg-basics(at)hwg.org |
References: |
ohlman |
|
todo: View
Thread,
Original
|
|
Thanks to all who replied. Keith, I am guessing this is not possible
withouth CGI, because I have tried the way you listed already (without CGI)
and it didn't work. I have another idea on how to do something slightly
different but thanks to all those who put in comments.
Matthew
- - - - - - - - - - - - - - - - - - -
| Matthew Ohlman
| Ohlman Pages
| http://www.ohlman.com/
"There's a difference between a philosophy and a bumper sticker. "
Charles M. Schulz
At 10:40 PM 10/2/01 -0400, WebGraffix Internet Design and Consulting wrote:
>Yes, very easily.
>
>In the form, place a tag such as:
><.INPUT type="hidden" name="success" value="thankyou">
>
>The value of the tag will be the page to which the user is redirected.
>
>On the churchpad.com web site which I am presently working on, I have just
>gotten done doing this. I use cgiemail as the "action" attribute of the form.
>cgiemail (or any similar script) allows you to send the output of the form to
>wherever you desire in the form of an email, formatted as you see fit
>depending
>upon the associated text file (whatever.txt).
>
>Once you do it a time or two, it's actually very simple and very quick.
>
>Take a look at www.churchpad.com/contactus.php if you'd like to see a working
>example. You can even go ahead and submit the form if you want to see the
>redirect work after a successful submission. (Note: I haven't incorporated the
>required fields yet, so it will take the submission even if the required
>fields
>are blank.)
>
>Feel free to take a look at the structure of the form to see what I'm talking
>about and copy the portion relating to the form action and "success" hidden
>field if you need to.
>
>HTH,
>--
>Keith D. Sellars
>WebGraffix
>www.webgraffix.com
>email: Keith(at)WebGraffix.com
>
>"Database solutions for information packed web sites"
>
># # # # # # # # # # # # # # # # # # # # # # # # # #
>
>Matthew Ohlman wrote:
>
> > Hi all! What I would like to know is if there is a way (using HTML,
> > JavaScript) to do the following in a form when the submit button is pushed:
> >
> > 1.) Email the form input to me
> > 2.) Rederict user to another page
> >
> > any input would be really appreciated!
> >
> > Matthew
> >
> > | Matthew Ohlman
> > | Ohlman Pages
> > | http://www.ohlman.com/
> > "There's a difference between a philosophy and a bumper sticker. "
> > Charles M. Schulz
HTML: hwg-basics mailing list archives,
maintained by Webmasters @ IWA