Click to See Complete Forum and Search --> : Submiting Forms


Sup3rkirby
07-15-2005, 11:56 AM
Is there a simple way to submit a form on a webpage to let's say, an e-mail address? And I would preferably have a JS method, and NOT PHP. Now, I know this can be done with a little HTML as well, but I don't like that method(where you have the form action set to like mailto:person@website.com). So if there is a JS method out there, that would be nice. And also, if there is even another way to do this with HTML, plz let me know.

I just do not want this done with PHP. At all. I can't use PHP. My web host doesn't support PHP. So no PHP, ok?

sparq
07-15-2005, 04:18 PM
http://www.javascript-coder.com/javascript-form/javascript-email-form.phtml

In a word? No...

What are you looking for specifically? Just something for your site? I might throw up a perl script to allow you to do this if you ask nicely.

NogDog
07-15-2005, 05:39 PM
Also, your host may already have a generic CGI formmail script you can access. If so, they can provide you with the URL you would use as the parameter for the action="..." part of your form tag, as well as anything else you might need to add to the form (typically a hidden field or two to tell it where to send the email).

Sup3rkirby
07-15-2005, 05:56 PM
Not really something for my site.... more or less, a script for sending form info to an e-mail address. For use in my life later on. Maybe not at this time. Or maybe I might use it now. I am very indecisive.

I don't know anything about Perl besides the fact that it is a programming language. So I will ask politely, will you please show me this Perl script to submit forms to email. And then I will look over this script to see if it even makes sense, and if I will be able to use it, or get more help.

I guess that's ok. I was just looking for another method to send forms to an email address that wasn't a PHP method(cus I can't use those), and one that didn't use that simple action=mailto: stuff(cus I don't like that).

ray326
07-15-2005, 09:29 PM
Big Nose Bird has a nice Perl formmail script, configured primarily by hidden fields in the form.