Thanks Dave I'll give it a try. JH

----- Original Message -----
From: "Phillips, Dave" <[email protected]>
Sent: Fri, 3/23/2012 12:52pm
To: cf-newbie <[email protected]>
Subject: RE: Send Form--email shows each field as "left blank"


That's what I thought.  You need to add the following to your form tag:

<cfform method="POST">

The default method for cfform is 'GET' and as a result, your variables when the 
form is submitted would be in the URL scope, not the FORM scope.  You need to 
use 'POST' to get the variables into the FORM scope.

Add this and you will probably see a world of difference (and maybe a host of 
new errors) but at least you'll be on the right track.

Dave

-----Original Message-----
From: jerry horn [mailto:[email protected]] 
Sent: Friday, March 23, 2012 8:41 AM
To: cf-newbie
Subject: Re: Send Form--email shows each field as "left blank"


>Please show us your <cfform> or <form> tag you used....
>
Thanks, Dave--here's the form:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
"http://www.w3.org/TR/html4/loose.dtd";>
<html>
<head>
<title>Reviews</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="keywords" content="Emma S. Clark Memorial Library; reviews">
<meta name="description" content="Allows patrons to submit book reviews.">
<link href="/emmaclark.css" rel="stylesheet" type="text/css">
<CFINCLUDE template="/emma_icon.inc.cfm">
<style type="text/css">
<!--
.style3 {font-family: Arial, Helvetica, sans-serif}
-->
</style>
</head>

<body bgcolor="#F7F2F2" topmargin="5" link="#000000" alink="#990000" 
vlink="#000000">
<cfform>



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-newbie/message.cfm/messageid:5839
Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-newbie/unsubscribe.cfm

Reply via email to