This content has been marked as final. Show 2 replies
There are only two ways to process form data -
1. Use mailto:email@example.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, or home users without email clients
installed (more and more it seems) - and on the installed email client
the mailto call. It is not possible to use this method *and* send the
visitor to a
thank you page as well.
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.).
You would have to decide which of these methods is best for your needs,
but if it's Method 2, then start by asking your host what they provide for
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
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
"TCarp" <firstname.lastname@example.org> wrote in message
> For my very first form I want to create one where a visitor can submit an
> address. I've been on the net learning as much as I can but I'd like to
> I'm understanding what I'm reading.
> I want to verify for a valid email address. It looks like there are a
> of scripts that will do that. I'm studying the scripts that are available
> see if I can understand them. Then I want the form sent via email. I've
> that the new browsers don't support mailto so I went to my host (GoDaddy)
> they seem to have a couple handlers. The cgi email handler I assume is
> the one
> I want. All they ask for is an email address set up on the account.
> How does the form get sent to the email handler?
>Edited: 08/02/2006 at 09:03:12 PM by TCarp
First of all, never edit your posts in this forum. Nobody on the nntp side will see all of the extra questions/code you just asked. Just add a new reply to the thread instead.
In answer to your later question, the client side jscript code you posted is used to validate that the email address is in the proper form. It does not check it's a valid email address. Furthermore, client side validation is a nice feature to assist you visitors, but validation on the server side is mandatory.