inherit
163931
0
Feb 23, 2011 14:01:52 GMT -8
smokekills
9
February 2011
smokekills
|
Post by smokekills on Feb 21, 2011 2:06:45 GMT -8
I'm having a hard time creating a html code.
I want it to include like "field 1" and "field 2", like the example below.
Name: Bern Email: bernblop@hotmail.com
I want the script to include the "name" and "email" input field and attach that info and send it to my email, and once the user clicks submit it takes them to my page that says "thanks for sending the email" but how do I code that?
thanks in advance
|
|
Former Member
inherit
guest@proboards.com
171777
0
Nov 29, 2024 9:38:45 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Feb 21, 2011 4:55:00 GMT -8
You might want to look up google for this. Just type in "email form HTML" (without the quotes) Also this thread should be in the coding request board.
|
|
inherit
*this CT deserves an achievement*
136400
0
Jun 25, 2021 18:23:00 GMT -8
Trill
hola
6,232
January 2009
ghbraingle
|
Post by Trill on Feb 21, 2011 8:06:53 GMT -8
You're going to need more than HTML for a form to automatically send an email... Try also Googling "PHP email script".
|
|
Former Member
inherit
guest@proboards.com
171777
0
Nov 29, 2024 9:38:45 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Feb 21, 2011 10:01:33 GMT -8
Well I know of one that works and seeing as how I am on my laptop, I can post the HTML. It works, but not as secure as the PHP script. Which is why you don't use your main email address.
<form name="Name of Form" action="mailto:YOUREMAIL@MAILDOMAIN.COM" method="post" enctype="text/plain">
First box name<br>
<input type="text" name="username" value="" size="20"><br>
second box name<br>
<input type="text" name="email" value="" size="20"><br>
third box name<br>
<input type="text" name="comment" value="" size="40"><br>
fourth box name<br>
<input type="text" name="htmlcode" value="" size="40"><br>
<br />
<input type="submit" value="Send"> <input type="reset" value="Reset"></form>
|
|
inherit
Frozen in Time
1515
0
Nov 18, 2012 23:46:48 GMT -8
snap2000
29,317
October 2001
snap2000
|
Post by snap2000 on Feb 21, 2011 10:24:58 GMT -8
Well I know of one that works and seeing as how I am on my laptop, I can post the HTML. It works, but not as secure as the PHP script. Which is why you don't use your main email address. <form name="Name of Form" action="mailto:YOUREMAIL@MAILDOMAIN.COM" method="post" enctype="text/plain"> First box name<br> <input type="text" name="username" value="" size="20"><br> second box name<br> <input type="text" name="email" value="" size="20"><br> third box name<br> <input type="text" name="comment" value="" size="40"><br> fourth box name<br> <input type="text" name="htmlcode" value="" size="40"><br> <br /> <input type="submit" value="Send"> <input type="reset" value="Reset"></form> That would open your default mail client and put the information they typed in there. It doesn't seem much different from just putting a mailto link on the page. Also, there are plenty of people who don't have something configured to send the e-mail. To them, such a form would be very misleading. However, for his purposes, it's probably the closest he can get without using any server-side-scripting.
|
|
inherit
123128
0
Feb 3, 2020 13:53:38 GMT -8
Malagrond
Remember, remember the 5th of November.
813
April 2008
malagrond
|
Post by Malagrond on Feb 21, 2011 11:06:07 GMT -8
|
|