Your form should look something like this. If it doesn't you may want to
send us the whole form.

<cfform action="sendmail.cfm" action="post">
<input type="image" src="images/interestproduct.gif" width="209" height="82"
border="0" />
<cfoutput>
<input type="hidden" name="description" value="#desciption#">
<input type="hidden" name="model"  value="#model#">
</cfpoutput>
<input type="submit" name="submitbutton" value="Send the Darn Email">
</cfform>

Thanks,
Joe Kelly

----- Original Message -----
From: "Mark Armstrong" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, May 20, 2005 8:44 PM
Subject: Re: newbie question, sendmail on form input


> No, I tried that, however, I put the cfoutput on the description,
> model, etc. back on.
>
> Still Get:
>
>   Variable DESCIPTION is undefined. The error occurred on line 66.
>
> Now I'll it will error with above if I don't change the input to the
> send mail:
>
> <input type="image" src="images/interestproduct.gif" width="209"
> height="82" border="0" /><input type="hidden" name="description"
> value="desciption">
> <input type="hidden" name="model"  value="model">
>
> I have to remove the #, or the variable is undefined on the submit to
> the sendmail.cfm
>
> Make sense? I need to keep the variable alive to the next form,
> sendmail.
>
> Mark
>
>
> On May 20, 2005, at 4:35 PM, John Ivanoff wrote:
>
> > are your variable in cfoutput tags?
> >
> > On 5/20/05, Mark Armstrong <[EMAIL PROTECTED]> wrote:
> >>
> >> I thought I had it working, but no. The page outputs data from a query
> >> (duh):
> >>
> >> <br>
> >> <LI><b>Make:</b>&nbsp;#Description#
> >> <LI><b>Model:</b>&nbsp;#Model#
> >> <li><b>Capacity:</b>&nbsp;#Capacity#
> >> <li><b>Year:</b>&nbsp;#Year#
> >> <li><b>Serial:</b>&nbsp;#Serial#
> >> <li><b>Voltage:</b>&nbsp;#Voltage#
> >> </ul>
> >>
> >> <cfform action="sendmail.cfm"><input type="image"
> >> src="images/interestproduct.gif" width="209" height="82" border="0"
> >> /><input type="hidden" value="'#desciption#' - '#model#'" /></cfform>
> >>
> >> When they click on the input button (we want more info), I send them
> >> to
> >> a "sendmail.cfm" page:
> >>
> >> <cfmail to="[EMAIL PROTECTED]" from="someone@ somewhere.com"
> >> subject="website: Interest in Used Product"><body>#form.desciption# -
> >> #form.model#</body>
> >> </cfmail>
> >>
> >>
> >> What am I doing wrong on this? the "hidden" input isn't working on the
> >> initial form.
> >>
> >> thanks,
> >>
> >> mark
> >>
> >> ----------------------------------------------------------
> >> To post, send email to [email protected]
> >> To unsubscribe:
> >> http://www.dfwcfug.org/form_MemberUnsubscribe.cfm
> >> To subscribe:
> >> http://www.dfwcfug.org/form_MemberRegistration.cfm
> >>
> >>
> >
>
> ----------------------------------------------------------
> To post, send email to [email protected]
> To unsubscribe:
>    http://www.dfwcfug.org/form_MemberUnsubscribe.cfm
> To subscribe:
>    http://www.dfwcfug.org/form_MemberRegistration.cfm
>
>

----------------------------------------------------------
To post, send email to [email protected]
To unsubscribe: 
   http://www.dfwcfug.org/form_MemberUnsubscribe.cfm
To subscribe: 
   http://www.dfwcfug.org/form_MemberRegistration.cfm


Reply via email to