Connecting Tech Pros Worldwide Help | Site Map

One form, two "actions" - HTML or ASP?

Laura
Guest
 
Posts: n/a
#1: Jul 23 '05
Hello,

I'm pretty sure that this can be done, but I am unable to find
documentation on it.

Presently I have a plain HTML survey form where users check multiple
checkboxes, then submit. The results are sent via email to the
administrator.

What I also want to happen is a new confirmation page to open showing
the user what he/she has submitted.

So, essentially, I want:
<form action="Confirmation_page_with_all_checked_options .asp">
AND
<form action="mailto:administrator@abc.com">

I presently only have the 2nd one working, since it is more important
for me to recieve the information at this point.

Thank you, any help is appreciated!
Laura
John
Guest
 
Posts: n/a
#2: Jul 23 '05

re: One form, two "actions" - HTML or ASP?


Hi,

send the data to the asp page where you write your confirmation info. In the
same page you send an email to the Adm using the CDONT. Check Google or
www.aspFaq.com for more info about Cdont.


John
Guest
 
Posts: n/a
#3: Jul 23 '05

re: One form, two "actions" - HTML or ASP?


http://www.aspfaq.com/show.asp?id=2026


Brian
Guest
 
Posts: n/a
#4: Jul 23 '05

re: One form, two "actions" - HTML or ASP?


Laura wrote:
[color=blue]
> Presently I have a plain HTML survey form where users check
> multiple checkboxes, then submit. The results are sent via email
> to the administrator.
>
> What I also want to happen is a new confirmation page to open
> showing the user what he/she has submitted.[/color]

Any good server side script can do that. I'd recommend TFmail, from
NMS. It can generate an html page based on the submission, and mail
the results to you.

http://nms-cgi.sourceforge.net/

[color=blue]
> <form action="Confirmation_page_with_all_checked_options .asp"> AND
> <form action="mailto:administrator@abc.com">[/color]

Unreliable. The action attribute must have an http url if you want to
be sure it works.

--
Brian

Closed Thread