PDA

View Full Version : form help


jdeagle2
01-01-2003, 06:58 PM
I was wondering when you make a form can you have it sent to an email address when it is submited:confused:

chrismiceli
01-01-2003, 07:01 PM
i think like this

<form action="mailto:chrismiceli@excite.com">

i can't remember if you have to use the method attribute or not, but from what everyone else says around here, use a server sided language to handle forms and emailing them.

whammy
01-01-2003, 08:10 PM
<form method="post" enctype="text/plain" action="mailto:whoever@wherever.com">

Tails
01-02-2003, 04:14 PM
On the subject, FORMs are one of those things not explained in HTML since it requires JS experience, and not told in JS tutorials since they say HTML covered it. So here's the question. What does the method really do? I know submit is supposed to send, etc. But can I test this offline? I have no cgi or php experience and the idea of JS being able to write to a file doesn't seem possible. Can someone fill me in on what's behind all the form stuff?