There are two basic ways to process form data -
1. Use mailto:name (AT) domain (DOT) com as the action of the form
2. Use a server-side scripting method to a) harvest the form's data, b)
process it in some manner, e.g., enter it into a database, c) formulate and
send an email to one or more email recipients, and d) redirect the visitor
to some ending page
Method 1 is quite simple, and is also the least reliable. It depends both
on your visitor having an email client already installed on their computer -
this eliminates public computers - and on that email client responding to
the mailto call (Eudora on the Mac is a good example of one that does not).
Method 2 is the preferred method, since it eliminates the problems of method
1, but it means that you have to grapple with server-scripting somehow (ASP,
CF, PHP, perl, etc.).
Now - on to your questions.
Quote:
can I use more than one email address to post a form and how would that
be formatted, i.e. do I use two mailto addresses |
Using mailto: I don't know. Using Method 2, it would be very easy to simply
include another email address in the scripting.
Quote:
creates an ATT
file which I can read with Word but the formatting is not very nice. |
Change your code to this -
<form action="mailto:you (AT) yourbusiness (DOT) co.uk" method="post"
enctype="text/plain" name="INFO_REQ"
onsubmit="MM_validateForm('Name','','R','postcode' ,'','R');return
document.MM_returnValue">
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
ANSWERS
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================
"david" <dave.egerton (AT) ntlworld (DOT) com> wrote
Quote:
Hi Guys,
Quick two questions,
can I use more than one email address to post a form and how would that
be formatted, i.e. do I use two mailto addresses
Also, because I am using the post method, no CGI etc. I have set my form
enctype to multipart/form-data (See code below). This creates an ATT
file which I can read with Word but the formatting is not very nice. Is
is a case of this is how good it gets unless I use proper form handling
/ scripting
form action="mailto:you (AT) yourbusiness (DOT) co.uk" method="post"
enctype="multipart/form-data" name="INFO_REQ"
onsubmit="MM_validateForm('Name','','R','postcode' ,'','R');return
document.MM_returnValue"
thanks Dave |