View Full Version : Form Buttons. More Than One Function?
[Ostrich]
26-09-2000, 17:17
I have a button at the end of my form:
<input type="submit" name="continue" value=" Opt-Out " onClick='Continue();return false;'>
I want it to also e-mail me the completed form. Can I do this? I put action=mailto:me@blah.com in the form header but it doesn't work ;(
:)
[Edited by [Ostrich] on 26-09-2000 at 05:18 PM]
[JA]JEnKiNs
29-09-2000, 10:22
Flux check needed? :P
/me legs it
hi Ostrich
tis not the FLUX Jenks joo :monkee:
from the name of that button i am guessing that its a CANCEL button ??
if it is then why do you want a copy of a form they dont want to send you ? which is prolly illegal too, but anywhoo..
surely you need another button called submit or saaaing which then calls a script which processes the contents of the form and then email that to joo ??
or is i missing the boat here ?
:)
[Edited by SPAWNO on 29-09-2000 at 11:34 AM]
[Ostrich]
02-10-2000, 12:54
OoooOOoOoOoHHHh Jenk!
Umm...er.
OK, basically when they press the button something is done for them (which they want) but before they press the button they have to fill in a form that I want (and have told them about) so they press the button, they get theirs and I get mine; everyone is happy.
But I reakon I got a way of doing it now.
:)
thats easy, just make the page that process the form email it twice, once for you and once for the other person.
duplicate the code inside the same page, one section after the other, using the same info from the form.
hey presto
:)
vBulletin® v3.7.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.