# need HTML code for a form

**URL:** <https://forums.speedlife.net/t/need-html-code-for-a-form/76377>\
**Category:** NYSpeed Off Topic\
**Created:** [November 20, 2009, 12:45pm UTC](https://forums.speedlife.net/t/need-html-code-for-a-form/76377 "2009-11-20T12:45:14Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![micah](https://yyz2.discourse-cdn.com/flex034/user_avatar/forums.speedlife.net/micah/32/7257_2.png) [@micah](https://forums.speedlife.net/u/micah)\
**Post date:** [November 20, 2009, 12:45pm UTC](https://forums.speedlife.net/t/need-html-code-for-a-form/76377/1 "2009-11-20T12:45:14Z")

</div>

i need html code, that has a spot in the code to put in the email where the info gets sent to

a couple txt boxes and a submit button , is all i need… everything i find online opens a new email in my default email program, and i don’t want that

---

<div class="post-metadata">

**Author:** ![tpgsr](https://yyz2.discourse-cdn.com/flex034/user_avatar/forums.speedlife.net/tpgsr/32/7374_2.png) [@tpgsr](https://forums.speedlife.net/u/tpgsr)\
**Post date:** [November 20, 2009, 12:46pm UTC](https://forums.speedlife.net/t/need-html-code-for-a-form/76377/2 "2009-11-20T12:46:22Z")

</div>

pretty simple really. Are you sending them something? If so you should just use php or asp and have the page auto send the file.

Edit: Would you like me to make it for you?

---

<div class="post-metadata">

**Author:** ![theblue](https://yyz2.discourse-cdn.com/flex034/user_avatar/forums.speedlife.net/theblue/32/5074_2.png) [@theblue](https://forums.speedlife.net/u/theblue)\
**Post date:** [November 20, 2009, 12:49pm UTC](https://forums.speedlife.net/t/need-html-code-for-a-form/76377/3 "2009-11-20T12:49:42Z")

</div>

> [@micah"](#):
>
> i need html code, that has a spot in the code to put in the email where the info gets sent to
> 
> a couple txt boxes and a submit button , is all i need… everything i find online opens a new email in my default email program, and i don’t want that

your missing link is that you cannot magically send email from HTML. You need something in the middle, like a mail server. the email sent from the webpage has to come from somewhere.

---

<div class="post-metadata">

**Author:** ![micah](https://yyz2.discourse-cdn.com/flex034/user_avatar/forums.speedlife.net/micah/32/7257_2.png) [@micah](https://forums.speedlife.net/u/micah)\
**Post date:** [November 20, 2009, 1:08pm UTC](https://forums.speedlife.net/t/need-html-code-for-a-form/76377/4 "2009-11-20T13:08:33Z")

</div>

maybe it has to be PHP?

take THIS [http://micahweber.wufoo.com/forms/contact-form/](http://micahweber.wufoo.com/forms/contact-form/)

but tailor the code to have it go to a certain email address when the submit button is pressed

\<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN”  
“[http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd](http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd)”\>

\<html xmlns=“[http://www.w3.org/1999/xhtml](http://www.w3.org/1999/xhtml)” class=" firefox"\>  
\<head\>

\<title\>  
Contact Form  
\</title\>

\<!-- Meta Tags --\>  
\<meta name=“robots” content=“index, nofollow, noarchive” /\>  
\<meta http-equiv=“Content-Type” content=“text/html; charset=utf-8” /\>  
\<meta name=“description” content=“Wufoo is a web form builder that helps anyone create beautiful forms, surveys and invitations without writing a single line of code.” /\>

\<!-- CSS --\>  
\<link rel=“stylesheet” href="/css/forms/dynamic.10210.css" type=“text/css” /\>

\<!-- JavaScript --\>  
\<script type=“text/javascript” src="/scripts/public/dynamic.10210.js"\>\</script\>  
\</head\>

\<body id=“public” \>

\<div id=“container”\>

\<h1 id=“logo”\>\<a href=“[http://wufoo.com](http://wufoo.com)” title=“Powered by Wufoo”\>Wufoo\</a\>\</h1\>

\<form id=“form1” name=“form1” class=“wufoo page1” autocomplete=“off”  
enctype=“multipart/form-data” method=“post” action="#public"\>

\<div class=“info”\>  
\<h2\>Contact Form\</h2\>

\<div\>\</div\>  
\</div\>

\<ul\>

\<li id=“fo1li1”  
class=" "\>

\<label class=“desc” id=“title1” for=“Field1”\>  
Message  
\<span id=“req\_1” class=“req”\>\*\</span\>  
\</label\>

\<div\>

\<textarea id=“Field1”  
name=“Field1”  
class=“field textarea medium”  
rows=“10” cols=“50”  
tabindex=“1”  
\>\</textarea\>

\</div\>

\<p class=“instruct” id=“instruct1”\>\<small\>This field is required.\</small\>\</p\>

\</li\>

\<li id=“fo1li2” class=" "\>  
\<label class=“desc” id=“title2” for=“Field2”\>  
Email Address  
\</label\>  
\<div\>

\<input id=“Field2” name=“Field2” type=“text” class=“field text large” value="" maxlength=“255” tabindex=“2” /\>  
\</div\>  
\<p class=“instruct” id=“instruct2”\>\<small\>We won’t share this with strangers.\</small\>\</p\>  
\</li\>

\<li class="buttons "\>  
\<input type=“hidden” name=“currentPage” id=“currentPage” value=“s11NB54LrWIVDm4TIB7JeeKxVlBRtUlUBTkwLT3UdPA=”\>  
\<input id=“saveForm” name=“saveForm” class=“btTxt submit” type=“submit” value=“Submit” /\>

\<a href=“[https://master.wufoo.com/forms/m7p0x3/def/field1=micahweber.wufoo.com/forms/contact-form/](https://master.wufoo.com/forms/m7p0x3/def/field1=micahweber.wufoo.com/forms/contact-form/)”  
target="\_blank"  
style=“font-size:85% !important;visibility:visible !important;display:inline !important;  
background:none !important;border:none !important;color:blue !important;  
text-indent:0 !important;text-decoration:underline !important;position:static !important;  
margin:0 !important;padding:0 !important;overflow:none !important  
width:auto !important;height:auto !important;”\>Report Abuse\</a\>  
\</li\>

\<li style=“display:none”\>  
\<label for=“comment”\>Do Not Fill This Out\</label\>  
\<textarea name=“comment” id=“comment” rows=“1” cols=“1”\>\</textarea\>  
\<input type=“hidden” id=“idstamp” name=“idstamp” value=“yPaaZsK65etzFPZSPk4az9H6uOz3PmHwM60Nqz8iO8U=” /\>  
\</li\>  
\</ul\>  
\</form\>

\</div\>\<!–container–\>  
\<img id=“bottom” src="/images/bottom.png" alt="" /\>  
\</body\>  
\</html\>

---

<div class="post-metadata">

**Author:** ![micah](https://yyz2.discourse-cdn.com/flex034/user_avatar/forums.speedlife.net/micah/32/7257_2.png) [@micah](https://forums.speedlife.net/u/micah)\
**Post date:** [November 20, 2009, 1:23pm UTC](https://forums.speedlife.net/t/need-html-code-for-a-form/76377/5 "2009-11-20T13:23:07Z")

</div>

like where in that code do i input where the info goes once u hit submit

---

<div class="post-metadata">

**Author:** ![theblue](https://yyz2.discourse-cdn.com/flex034/user_avatar/forums.speedlife.net/theblue/32/5074_2.png) [@theblue](https://forums.speedlife.net/u/theblue)\
**Post date:** [November 20, 2009, 1:26pm UTC](https://forums.speedlife.net/t/need-html-code-for-a-form/76377/6 "2009-11-20T13:26:33Z")

</div>

you’re still concerned about where the email is going to… where is the email coming from? what server is sending it?

search the topic of “form mail”

also, talk to your web host, they may offer a form mail application for free.

---

<div class="post-metadata">

**Author:** ![tpgsr](https://yyz2.discourse-cdn.com/flex034/user_avatar/forums.speedlife.net/tpgsr/32/7374_2.png) [@tpgsr](https://forums.speedlife.net/u/tpgsr)\
**Post date:** [November 20, 2009, 1:32pm UTC](https://forums.speedlife.net/t/need-html-code-for-a-form/76377/7 "2009-11-20T13:32:12Z")

</div>

in that /contact-form/ folder, there should be a “main” or “index” file. What is it’s extension?

.php .asp .html etc…
