home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Webmastering and Programming
Join TechIMO for Free!
Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
Reply Get bargains at  »  Dealighted.com
 
Thread Tools
Currently Active Users: 1773
Discussions: 188,401, Posts: 2,243,601, Members: 232,630
Old December 11th, 2004, 06:59 PM   Digg it!   #1 (permalink)
Best To Avoid Me
 
Martoch's Avatar
 
Join Date: Mar 2002
Location: Under Your Bed
Posts: 8,596
Need HTML help badly...

Hey, it's me again!


Okay, I really need help with this one. My last lab involves creating a WORKING form...well, I seem to have gotten the form to look right...when I click submit, it launches the e-mail, but there's NO information from the form.


What am I missing? Our book is absolutely NO help!

Code:
<html>
<body>

<form action="MAILTO:mikeishome@cox.net" method="post" enctype="text/plain">

<h3>This form sends an e-mail to Mikey.</h3>
Name:<br>
<input type="text" name="name"
value="" size="20">
<br>
E-Mail Address:<br>
<input type="text" name="mail"
value="" size="20">
<br>
<br>
I am a man:
<input type="checkbox" name="Man">
<br>
I am a Woman
<input type="checkbox" name="Woman">
<br>
<br>
Comments:
<textarea rows="10" cols="30">
</textarea>


<input type="submit" value="Send">
<input type="reset" value="Reset">
</form>


</body>
</html>
Thanks!

Martoch is offline   Reply With Quote
Old December 11th, 2004, 07:08 PM     #2 (permalink)
Member
 
xcheck2430's Avatar
 
Join Date: Oct 2004
Posts: 293
Send a message via AIM to xcheck2430
Im just started WebDesign in school, so im not this far, but my best advice is to find a real page like one of these on the internet, and chekc the source. It will probably give it away if u can sort throuhg all of the crap they will probably have

xcheck2430 is offline   Reply With Quote
Old December 11th, 2004, 07:08 PM     #3 (permalink)
Member
 
xcheck2430's Avatar
 
Join Date: Oct 2004
Posts: 293
Send a message via AIM to xcheck2430
and remember, its always a good idea to pick up either macromedia dreamweaver or adobe golive if your getting into webdesign

xcheck2430 is offline   Reply With Quote
Old December 11th, 2004, 07:21 PM     #4 (permalink)
Best To Avoid Me
 
Martoch's Avatar
 
Join Date: Mar 2002
Location: Under Your Bed
Posts: 8,596
I'm not getting into web design...this is a class requirement. I've updated the form, but it still doesn't send any information when it launches the new mail with my address. How do I get the user's information to actually be included in the e-mail?
Martoch is offline   Reply With Quote
Old December 11th, 2004, 08:45 PM     #5 (permalink)
Ultimate Member
 
Join Date: Jan 2003
Location: MA / NH
Posts: 1,497
Send a message via AIM to Blazer06
It's been so long since I've done that in HTML (Lot easier just to use PHP now)

Can you use PHP?


Blaze
Blazer06 is offline   Reply With Quote
Old December 11th, 2004, 09:07 PM     #6 (permalink)
Ultimate Member
 
Join Date: Jan 2003
Location: MA / NH
Posts: 1,497
Send a message via AIM to Blazer06
Code:
<html>
  <title>Martick-Toch's Contact Page</title>
  <body>

    <h3>This form sends an e-mail to Mikey.</h3>

    <!-- Form sends an e-mail to mikeishome@cox.net -->
    <form method='post' enctype='text/plain' action='mikeishome@cox.net'>

      Name:<br>
      <!-- Name Input Field -->
      <input type='text' name='name' value='' size='20'>
      <br>

      E-Mail Address:<br>
      <!-- E-Mail Input Field -->
      <input type='text' name='mail' value='' size='20'>
      <br><br>

      I am a man:
      <!-- Man Checkbox Option -->
      <input type='checkbox' name='Man'>
      <br>

      I am a Woman
      <!-- Woman Checkbox Option -->
      <input type='checkbox' name='Woman'>
      <br><br>

      Comments:
      <!-- Comments text area (10*30) -->
      <textarea rows='10' cols='30'></textarea>
      <br>
   
      <!-- Submit Button (sends Email using default email program) -->
      <input type='submit' value='Send'>

      <!-- Resets (clears) all form fields -->
      <input type='reset' value='Reset'>
    </form>

  </body>
</html>
That will work for ya.

(Put the method="post" before the "action="mailto:..."")


Blaze
Blazer06 is offline   Reply With Quote
Old December 12th, 2004, 01:16 AM     #7 (permalink)
Best To Avoid Me
 
Martoch's Avatar
 
Join Date: Mar 2002
Location: Under Your Bed
Posts: 8,596
Thanks Blaze!!!


EDIT: Still didn't work...you forgot the mailto:, but even after I put that in...it still just e-mails a blank page.

@ the page title
Martoch is offline   Reply With Quote
Old December 12th, 2004, 01:28 AM     #8 (permalink)
Did you try Google yet?
 
Siliconjunkie's Avatar
 
Join Date: Feb 2003
Location: Buckhannon, WV
Posts: 3,466
Send a message via AIM to Siliconjunkie
I don't think you can pass form data to a mailto:

You need a perl/cgi/php form handler. The mailto: just populates the address/subject.
__________________
My computer is bigger than yours!
Siliconjunkie is offline   Reply With Quote
Old December 12th, 2004, 10:22 AM     #9 (permalink)
Ultimate Member
 
rastorize's Avatar
 
Join Date: Jul 2002
Location: sacramento
Posts: 1,165
Send a message via AIM to rastorize Send a message via Yahoo to rastorize
Your code looks correct, but I'm not a big HTML'er anymore - I did find this though:
http://www.angelfire.com/fl5/html-tutorial/formcode.htm

Maybe it'll help...
rastorize is offline   Reply With Quote
Old December 12th, 2004, 06:33 PM     #10 (permalink)
Ultimate Member
 
Join Date: Jan 2003
Location: MA / NH
Posts: 1,497
Send a message via AIM to Blazer06
THIS will work:

(took out the enctype tag)

Code:
<html>
  <title>Martick-Toch's Contact Page</title>
  <body>

    <h3>This form sends an e-mail to Mikey.</h3>

    <!-- Form sends an e-mail to mikeishome@cox.net -->
    <form method='post' action='mailto:mikeishome@cox.net'>

      Name:<br>
      <!-- Name Input Field -->
      <input type='text' name='name' value='' size='20'>
      <br>

      E-Mail Address:<br>
      <!-- E-Mail Input Field -->
      <input type='text' name='mail' value='' size='20'>
      <br><br>

      I am a man:
      <!-- Man Checkbox Option -->
      <input type='checkbox' name='Man'>
      <br>

      I am a Woman
      <!-- Woman Checkbox Option -->
      <input type='checkbox' name='Woman'>
      <br><br>

      Comments:
      <!-- Comments text area (10*30) -->
      <textarea rows='10' cols='30'></textarea>
      <br>
   
      <!-- Submit Button (sends Email using default email program) -->
      <input type='submit' value='Send'>

      <!-- Resets (clears) all form fields -->
      <input type='reset' value='Reset'>
    </form>

  </body>
</html>
Will send you an email with an attachment "POSTDATA.ATT" from IE. didnt check it in any other browser yet.


Blaze
Blazer06 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Export excel --> html - How to clean html? BITM@D Applications and Operating Systems 19 January 10th, 2007 02:54 PM
Test your Grammar Prison Kids IMO Community 40 November 12th, 2004 03:15 AM
Suggestions for free Web Authoring Progs? phatboyheavy Webmastering and Programming 7 June 7th, 2004 04:13 AM
Still having FTP problems. HELP!!! SST Webmastering and Programming 5 August 25th, 2003 02:01 AM

Most Active Discussions
Is It Just Me? (2906)
Unarmed man on his stomach shot by .. (6)
Misery Loves Company... (2144)
New Build ( Finally ) (6)
CPU wont boot (7)
Building a gaming computer advice (5)
I think I just killed my computer w.. (24)
Folderchat Weekday thread (444)
Upgrading RAM (6)
Recent Discussions
How do you move a hard-drive to.. (4)
Laptop proccesor to desktop mob.. (1)
What is the best external enclo.. (0)
Partition Magic 7.0 (Unallocate.. (17)
For cheap price and good qualit.. (1)
Left 4 Dead Small Freezes (3)
RCA 52Inch HDTV wont turn on (4)
wishin i could edit my aol prof.. (0)
Sporadic internet connectivity (2)
Blackberry Storm, Gears of War .. (1)
Core 2 Quad Q9550 system (3)
COWBOOM Ripoff! Used Laptop w/$.. (4)


All times are GMT -4. The time now is 03:44 AM.
TechIMO Copyright 2008 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28