Send a copy to my email address

R

Rick

I would like to add a checkbox to a form that would allow the submitter to
send an exact email copy to him/herself when submitting it to me. I have
the email being sent to me ok. Can I add this feature ?

Thanks
Rick
 
J

Josh Edgar

Rick, this would take some JavaScript. I would assume that you need the
script:

<script language="JavaScript">
001.form.onSubmit
{
if (002.check.001.form = "ON")
{
001.form.onSubmit.Email = mailto:003?Subject=004
}
if (002.check.001.form = "OFF")
{
do.nothing
}
</script>

Note: You need to replace some things. Those are below. The blue link should
not be a link, the newsgroup does that, and it needs quotes before and after
it. You must replace these:

001 - Form Name
002 - Checkbox Name
003 - Submit Button Name
004 - A Subject For The E-mail Line

If this does not work, you may not have a good enough version of FrontPage.
I use 2002 and this works well with me. If it does not work in your version
of 2002 or up, visit www.javascripts.com and they may be able to help you in
the "Forms" area (found on the link bar to the left side).
 

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

Top