teammatt3
07-01-2003, 03:55 PM
I want to add an email form to my site. When someone clicks "submit" I want the input fields to go to my email. Can anyone make one? or can you recommend a site that offers free forms, WITHOUT ads:)
|
Click to See Complete Forum and Search --> : email form teammatt3 07-01-2003, 03:55 PM I want to add an email form to my site. When someone clicks "submit" I want the input fields to go to my email. Can anyone make one? or can you recommend a site that offers free forms, WITHOUT ads:) brendandonhue 07-01-2003, 03:59 PM Can't be done with javascript. All you can do is a form that will open the user's mail client and fill in the message for you. But I wouldn't reccommend it because it won't work for people with web based mail, AOL, hotmail, etc. Also using that you don't have as much control over validating the form. Jonathan 07-01-2003, 04:42 PM I would be happy to make one for you, but I only know how to make forms in HTML, that means only IE will be able to use it... but it is actually very simple... <!-- Start form here --> <FORM METHOD="post" action="mailto:your_e-mail@server.com" enctype="text/plain"> Your Name: <input type="text" value="Last, First" Name="name" onclick="this.value=''" Maxlength="20"> <input type="submit" value="Send your information"> <-- That is a very simple form --> teammatt3 07-01-2003, 04:47 PM Is this the form you would make, or would you make one that does not send via mailto, that is the kind i want???? Jonathan 07-01-2003, 04:59 PM It just looks good... but you can't make one that is via e-mail with javascript.. you need a server... pyro 07-01-2003, 05:03 PM Here's the PHP code to mail a form back to you. http://forums.webdeveloper.com/showthread.php?s=&threadid=9543#post48748 Then, in your form tag, go something like this: <form action="mailer.php" method="post"> webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |