SunQuest
 
           Web Layout
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsWeb DesignWeb Layout

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today!
  #1  
Old April 23rd, 2004, 02:32 PM
jme_services jme_services is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Posts: 4 jme_services User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question sending data via a form

I am trying to design a simple form for sending data via email in text/form format. When I test the form, clicking the Submit button causes an email to be generated, but the content is blank -- none of the form data is being transmitted! What am I doing wrong?

Here's the code (built using DreamWeaver):

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<form action="mailto:htbizdirectory@yahoo.com?subject=test" method="post" enctype="text/plain" name="testform" target="_blank">
<p>name
<input name="yourname" type="text">
</p>
<p>phone
<input name="yourphone" type="text">
</p>
<p>
<input type="submit" name="Submit" value="Submit">
</p>
</form>
</body>
</html>

Reply With Quote
  #2  
Old April 28th, 2004, 11:11 AM
janusz_monkey janusz_monkey is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Location: Birmingham, UK
Posts: 56 janusz_monkey User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Server Type

Do you know if you're on a ASP or PHP based server... there are scripts out there that do much more and can format the output nicely

Reply With Quote
  #3  
Old April 28th, 2004, 05:23 PM
jme_services jme_services is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Posts: 4 jme_services User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
the server handles ASP -- I just need to learn a little more about that before implementing it, so I was trying the "quick and dirty" method in the essence of time. Turns out that it must have been a browser problem on my end -- I went to another computer in my house, and it worked okay (the text info from the form was included in the email message).

Reply With Quote
  #4  
Old April 29th, 2004, 02:53 AM
janusz_monkey janusz_monkey is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Location: Birmingham, UK
Posts: 56 janusz_monkey User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Hmm

It could depend on how your email client is setup to receive emails.

Ask your hosting people what ASP scripting they support... you can grab a simple script from www.hotscripts.com or if they are half decent, the hosting company should provide you with a simple form :-)

Reply With Quote
Reply

Viewing: ASP Free ForumsWeb DesignWeb Layout > sending data via a form


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not 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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway