Eagle35 said:
hi all
im new to the whole java thing and need some help!
im trying to make an e mail form and when i test it, it sends the e mail to
the designated e mail address but when i go to the e mail account i sent it
to it doesnt have any info that should have been submitted
all i get in the e mail is: name=
im using the following e mail form template: JavaFile.com e-mail form
Thanks for any help you can offer!
It's probably not a good idea to use code from a site that
refers to them "Java Scripts". It suggests that the author
doesn't really understand that Javascript has nothing at all
to do with Java.
There is no Javascript or Java required to create an email
form. All you need is HTML and to know that every visitor
who uses the form has their default email agent defined so
that the browser can invoke it, and that their browser
supports the "mailto" protocol, and that they don't mind
allowing your form to send their information via email.
If you're willing to believe that all of those are true,
all you need is something like this. Again, there is
no Java or Javascript involved at all:
<html>
<body>
<form action="mailto:yo*@yourdomain.com"
method="post"
enctype="text/plain">
<input name="alpha"><br>
<input name="beta"><br>
<select name="gamma">
<option>one</option>
<option>two</option>
</select>
<input type="submit">
</form>
</body>
</html>