There are two basic ways to process form data -
1. Use mailto:name (AT) domain (DOT) com as the action of the form tag (see the
Property inspector)
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.).
I don't think Geocities supports #2, so you're stuck with #1. Using this
method will not allow you to submit *and* redirect to a thank you page,
however.
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(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
==================
"tellingpix" <webforumsuser (AT) macromedia (DOT) com> wrote
Quote:
I have a site on geocities, built with Dreamweaver. I built a form and
added a
submit button, and according to geocities I'm supposed to automatically
get it
emailed to me, but I don't. I even tried building a button using their
PageBuilder software and cutting & pasting the HTML code into the
Dreamweaver
site. It looks pretty much the same as the Dreamweaver code, and of
course
still doesn't get me the submission results.
Is there some way to automat the emailing process as a behavior of the
SUBMIT
button?
Thank you.
INPUT name="Submit" type="submit" id="Submit"
onClick="MM_goToURL('parent.frames[\'mainFrame\']','thankyou.htm');return
document.MM_returnValue" value="Submit" |