Email Form

  • K-Anator
  • Novice
  • Novice
  • No Avatar
  • Joined: Apr 09, 2004
  • Posts: 21
  • Status: Offline

Post June 29th, 2004, 12:02 am

I need a form for a website im making to submit through email, the only thing is i have no clue how to code it...

i need the form to look like this....

Name: _________
Address: _________
City, State/Prov., Country: _________
Zip/Postal Code: _________
Phone: _________
Type Of Portrait: Painting [] or Drawing []
Breed: _________
Pet's Name: _________
Color [] or Black & White []
Size: Standard [] or custom _________
Price: _________
Background: Color _________ solid [] Faded []
Leave it to me []
Additional comments or requests:
____________________________________
____________________________________
____________________________________
____________________________________
____________________________________

Submit Order



Any help would be greatly appreciated, c ya
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post June 29th, 2004, 12:02 am

  • gsv2com
  • Professor
  • Professor
  • User avatar
  • Joined: Jan 25, 2004
  • Posts: 776
  • Loc: Nippon
  • Status: Offline

Post June 29th, 2004, 12:23 am

Do some research on the following html tags:

Code: [ Select ]
<form></form>
<input>
<textarea></textarea>
  1. <form></form>
  2. <input>
  3. <textarea></textarea>


After you get that built, you'll need a scripting language like php to take care of the data.
  • K-Anator
  • Novice
  • Novice
  • No Avatar
  • Joined: Apr 09, 2004
  • Posts: 21
  • Status: Offline

Post June 29th, 2004, 1:16 am

thanks :)
  • SharkShark
  • Guru
  • Guru
  • User avatar
  • Joined: Apr 24, 2004
  • Posts: 1013
  • Loc: Living In Today
  • Status: Offline

Post June 29th, 2004, 4:44 am

As long as you can use PHP, this topic will help.

http://www.ozzu.com/programming-forum/email-form-t26990.html

Look for my post on DynaForm.
Yesterday is history.Tomorrow is mystery.Today is a gift.
Car Audio Sytems
LED Emergency Lights
  • SharkShark
  • Guru
  • Guru
  • User avatar
  • Joined: Apr 24, 2004
  • Posts: 1013
  • Loc: Living In Today
  • Status: Offline

Post June 29th, 2004, 4:44 am

Ah...I just really read your post, you dont know how to code the actual form is that it?
Yesterday is history.Tomorrow is mystery.Today is a gift.
Car Audio Sytems
LED Emergency Lights
  • Nem
  • Guru
  • Guru
  • No Avatar
  • Joined: Feb 13, 2004
  • Posts: 1243
  • Loc: UK
  • Status: Offline

Post June 29th, 2004, 4:50 am

maybe new to coding altogether
GSDomains.com -Click here - Packages starting from £3.69 a month. 1.5GB Space & 10GB Bandwidth.
  • SharkShark
  • Guru
  • Guru
  • User avatar
  • Joined: Apr 24, 2004
  • Posts: 1013
  • Loc: Living In Today
  • Status: Offline

Post June 29th, 2004, 4:54 am

Code: [ Select ]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>

<head>
 <title>Email Form</title>
</head>
<body>

Name: <input type="text" name="Name" value=""> <br />
Email: <input type="text" name="Email" value=""> <br />
Painting: <input type="radio" name="Painting" value=""> <br />
Other Info: <br /> <textarea name="" rows="8" cols="50"></textarea>
<br /> <br /><input type="submit">
</form>
</body></html>
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  2. <html>
  3. <head>
  4.  <title>Email Form</title>
  5. </head>
  6. <body>
  7. Name: <input type="text" name="Name" value=""> <br />
  8. Email: <input type="text" name="Email" value=""> <br />
  9. Painting: <input type="radio" name="Painting" value=""> <br />
  10. Other Info: <br /> <textarea name="" rows="8" cols="50"></textarea>
  11. <br /> <br /><input type="submit">
  12. </form>
  13. </body></html>


Copy and paste this code into your favorite HTML editor then view as an HTML page. This is only a simple layout for an email form. I have included a text area, radio button, and text field. THe important thing to note is the ' name="" ' part of your input code. Whatever you enter into the name area will be what is sent to you in the email. I already inserted the close form code. When you follow my previous post and get DynaForm, it will tell you what to insert into your Open Form code. Hope this helps! :D
Yesterday is history.Tomorrow is mystery.Today is a gift.
Car Audio Sytems
LED Emergency Lights
  • gsv2com
  • Professor
  • Professor
  • User avatar
  • Joined: Jan 25, 2004
  • Posts: 776
  • Loc: Nippon
  • Status: Offline

Post June 29th, 2004, 8:09 am

Shark, you forgot the opening form tag. That's essential. Either that or I'm going blind (it is midnight and it's been a long day).
  • SharkShark
  • Guru
  • Guru
  • User avatar
  • Joined: Apr 24, 2004
  • Posts: 1013
  • Loc: Living In Today
  • Status: Offline

Post June 29th, 2004, 8:29 am

Not at all. I explained that in my post. I gave him the link to a thread the I posted in that featured a PHP mailer called DynaForm. DynaForm has its own open form tag. So i said and I quote:

SharkShark wrote:
I already inserted the close form code. When you follow my previous post and get DynaForm, it will tell you what to insert into your Open Form code.
Yesterday is history.Tomorrow is mystery.Today is a gift.
Car Audio Sytems
LED Emergency Lights
  • Nem
  • Guru
  • Guru
  • No Avatar
  • Joined: Feb 13, 2004
  • Posts: 1243
  • Loc: UK
  • Status: Offline

Post June 29th, 2004, 8:30 am

Code: [ Select ]
<form name="form" method="post" action="mailto:youremailaddresshere@lol.com">
 <p>Name
  <input type="text" name="textfield">
  <br>
  Address
  <input type="text" name="textfield2">
  <br>
  City. State/Prov. Country
  <input type="text" name="textfield3">
  <br>
  ZIP
  <input type="text" name="textfield4">
  <br>
  Phone
  <input type="text" name="textfield5">
  <br>
  Type of portrait: Painting
  <input type="radio" name="radiobutton" value="radiobutton">
  or Drawing:
  <input type="radio" name="radiobutton" value="radiobutton">
  <br>
  Breed:
  <input type="text" name="textfield6">
  <br>
  Pets name
  <input type="text" name="textfield7">
  <br>
  Color
  <input type="radio" name="radiobutton" value="radiobutton">
  Black and white
  <input type="radio" name="radiobutton" value="radiobutton">
  <br>
  Size: Standard
  <input type="radio" name="radiobutton" value="radiobutton">
  or custom
  <input type="text" name="textfield8">
  <br>
  Price:
  <input type="text" name="textfield9">
  <br>
  Background colour:
  <input type="text" name="textfield10">
  solid
  <input type="radio" name="radiobutton" value="radiobutton">
  faded
  <input type="radio" name="radiobutton" value="radiobutton">
 </p>
 <p> Additional comments<br>
  <textarea name="textarea"></textarea>
  <input type="submit" name="Submit" value="Submit">
 </p>
 </form>
  1. <form name="form" method="post" action="mailto:youremailaddresshere@lol.com">
  2.  <p>Name
  3.   <input type="text" name="textfield">
  4.   <br>
  5.   Address
  6.   <input type="text" name="textfield2">
  7.   <br>
  8.   City. State/Prov. Country
  9.   <input type="text" name="textfield3">
  10.   <br>
  11.   ZIP
  12.   <input type="text" name="textfield4">
  13.   <br>
  14.   Phone
  15.   <input type="text" name="textfield5">
  16.   <br>
  17.   Type of portrait: Painting
  18.   <input type="radio" name="radiobutton" value="radiobutton">
  19.   or Drawing:
  20.   <input type="radio" name="radiobutton" value="radiobutton">
  21.   <br>
  22.   Breed:
  23.   <input type="text" name="textfield6">
  24.   <br>
  25.   Pets name
  26.   <input type="text" name="textfield7">
  27.   <br>
  28.   Color
  29.   <input type="radio" name="radiobutton" value="radiobutton">
  30.   Black and white
  31.   <input type="radio" name="radiobutton" value="radiobutton">
  32.   <br>
  33.   Size: Standard
  34.   <input type="radio" name="radiobutton" value="radiobutton">
  35.   or custom
  36.   <input type="text" name="textfield8">
  37.   <br>
  38.   Price:
  39.   <input type="text" name="textfield9">
  40.   <br>
  41.   Background colour:
  42.   <input type="text" name="textfield10">
  43.   solid
  44.   <input type="radio" name="radiobutton" value="radiobutton">
  45.   faded
  46.   <input type="radio" name="radiobutton" value="radiobutton">
  47.  </p>
  48.  <p> Additional comments<br>
  49.   <textarea name="textarea"></textarea>
  50.   <input type="submit" name="Submit" value="Submit">
  51.  </p>
  52.  </form>


there you go
  • SharkShark
  • Guru
  • Guru
  • User avatar
  • Joined: Apr 24, 2004
  • Posts: 1013
  • Loc: Living In Today
  • Status: Offline

Post June 29th, 2004, 8:32 am

LOL i didnt want to do the whole thing for him. How would he learn? I just gave the beginnings! LOL but well done Nem :D

//edit: might as well put the DynaForm open form tag :P

Code: [ Select ]
<form action='dynaform.php' method='POST'>


The mailto command is very quickly becoming outdated. I dont even use it anymore. I always suggest using a PHP mailer. Thats just my personal opinion though.
Yesterday is history.Tomorrow is mystery.Today is a gift.
Car Audio Sytems
LED Emergency Lights
  • Nem
  • Guru
  • Guru
  • No Avatar
  • Joined: Feb 13, 2004
  • Posts: 1243
  • Loc: UK
  • Status: Offline

Post June 29th, 2004, 8:33 am

*ahem* im waiting for a reply my post on the programming forum.... taking too long so i thought might as well
GSDomains.com -Click here - Packages starting from £3.69 a month. 1.5GB Space & 10GB Bandwidth.
  • K-Anator
  • Novice
  • Novice
  • No Avatar
  • Joined: Apr 09, 2004
  • Posts: 21
  • Status: Offline

Post June 29th, 2004, 8:46 am

Thanks, i really needed that :D :D :D
  • Nem
  • Guru
  • Guru
  • No Avatar
  • Joined: Feb 13, 2004
  • Posts: 1243
  • Loc: UK
  • Status: Offline

Post June 29th, 2004, 8:46 am

no problem
GSDomains.com -Click here - Packages starting from £3.69 a month. 1.5GB Space & 10GB Bandwidth.
  • K-Anator
  • Novice
  • Novice
  • No Avatar
  • Joined: Apr 09, 2004
  • Posts: 21
  • Status: Offline

Post June 29th, 2004, 8:52 am

um... crap... i don't know why but when i click the submit button, it opens outlook and doesn't email the form :? anyhelp?
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post June 29th, 2004, 8:52 am

Post Information

  • Total Posts in this topic: 23 posts
  • Users browsing this forum: No registered users and 108 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.