------- HELP!!! MULTIPLE ACTIONS IN ONE FORM AND ONE SUBMIT BUTTON!!!

I

Ice

------- HELP!!! MULTIPLE ACTIONS IN ONE FORM AND ONE SUBMIT BUTTON!!!

Hello!

Thanks for reading this in advance =)
I have a nice form which you can fill in etc etc, and when you hit SUBMIT I
want the page to do 2 things (email me and go to a page which sais Thanks
for submitting). I have pasted a small version of the page below, can you
please edit it so that it does what I want it to do, and email it me
([email protected])? You'd really help me out!

<FORM enctype="text/plain" ACTION="mailto:[email protected]" METHOD="POST">
<table width=100%>
<TR><TD> Full name: </TD><TD> <P ALIGN="RIGHT"><INPUT TYPE="TEXT" NAME="Full
name" SIZE="20"></P> </TD><TD> * </TD></TR>
<TR><TD> Nick name: </TD><TD> <P ALIGN="RIGHT"><INPUT TYPE="TEXT" NAME="Nick
name" SIZE="20"></P> </TD><TD> * </TD></TR>
<TR><TD> Age: </TD><TD> <P ALIGN="RIGHT"><INPUT TYPE="TEXT" NAME="Age"
SIZE="20"></P> </TD><TD> * </TD></TR>
<TR><TD width=100%>
<INPUT TYPE="SUBMIT" VALUE="Submit form">
<INPUT TYPE="RESET" VALUE="Clear">
</table>
</FORM>
 
W

William Tasso

Ice said:
------- HELP!!! MULTIPLE ACTIONS IN ONE FORM AND ONE SUBMIT BUTTON!!!

Please don't shout.

How do you do?
Thanks for reading this in advance =)
I have a nice form which you can fill in etc etc, and when you hit
SUBMIT I want the page to do 2 things (email me and go to a page
which sais Thanks for submitting). I have pasted a small version of
the page below, can you please edit it so that it does what I want it
to do,

<form action="/formhandler.[1]" ...

the you just build up a script to perform your heart's desire.
and email it me

sorry chum - you just gotta come back here to read it.
You'd really help me out!

possibly, but this is a public forum, not a helpdesk

[1] asp, php, cgi, whatever your server will support
 
D

David Dorward

Ice said:
I have a nice form which you can fill in etc etc, and when you hit SUBMIT
I want the page to do 2 things (email me and go to a page which sais
Thanks for submitting).

Most form handlers do that anyway.
<FORM enctype="text/plain" ACTION="mailto:[email protected]"

Oh dear, you've been tricked in to thinking that mailto: as a form action is
practical.

See http://www.isolani.co.uk/newbie/mailto.html for why it isn't and
http://www.cs.tut.fi/~jkorpela/forms/ for the right way to go about things.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,731
Messages
2,569,432
Members
44,832
Latest member
GlennSmall

Latest Threads

Top