PDA

View Full Version : formVirus


emma85
09-05-2002, 10:49 AM
Okay.
This form-save is bugging me like a virus.

How do I (without cgi and such => cuz I can't understand it) save the information from a filled in form?
do I have to define a file on the server?
or in some way havin it sent to me in a mail?

/eeeeeeeeeeeeeemma (who thinks she might be loosin it.)

mordred
09-05-2002, 11:12 AM
You can't with javascript.

A crude, kludgey, ugly workaround is to set the action attribute of the form to a "mailto:youremail@host.tld" and the enctype="text/plain", and that would send the form contents to your email address directly. But that usually triggers a confirmation window if the user submits a form like that.

Best it is to use a server-side script to handle the form submission. But that has nothing to do with javascript, so moving this thread to a better suited forum might be considered.