Forums

Unable to add textarea to email template

unibrow 08 Nov, 2011
I took over a form from our former webmaster and I'm trying to display a textarea that exists in the form in the email template that is sent to me upon the form's submission. I'm not able to get the textarea text to show up.

I can get textbox fields to show up by using the {textbox_name} notation. When I try to do that for the textarea, it just displays {textare_name}. I've also tried using the {textarea_id} but that also doesn't work. Can someone enlighten me on how to get this to show up?
GreyHead 09 Nov, 2011
Hi unibrow,

Using the {textarea_name} is the correct way to do it. Please turn on Debug (in CFv3) or drag a Debugger action into the OnSubmit event (in CFv4) and copy and paste the debug output including the 'dummy email' content here.

Bob
unibrow 07 Mar, 2012
Only 5 months later and I'm finally getting around to trying to fix this. I turned debug on and this is what I get:

Form passed first SPAM check OK
Form passed the submissions limit (if enabled) OK
Form passed the Image verification (if enabled) OK
Form passed the server side validation (if enabled) OK
$_POST Array: Array ( [txtNameFirst] => Dann [txtNameLast] => Dann [txtEmail] => [email]dmortensen@loft.org[/email] [txtPhoneNumber] => fdjslkfsd [txtProblem] => Debug me [check0] => Array ( [0] => Email ) [chrono_verification] => Bwx6K [button_11] => Submit [fd13005403c93c18915ef1cbe3e42058] => 1 [1cf1] => f0fad3a0ce8d85843800d920cdb5393d [chronoformname] => techSupportRequest )
$_FILES Array: Array ( )
Form passed the plugins step (if enabled) OK
An email has been SENT successfully from [email]xxx@xxx.xxx[/email] to [email]xxx@xxx.xxx[/email]
An email has been SENT successfully from [email]xxx@xxx.xxx[/email] to [email]xxx@xxx.xxx[/email]
Debug End


From: [email]xxx@xxx.xxx[/email]
To: [email]xxx@xxx.xxx[/email]
CC:
BCC:
Subject: New Tech Support Request

A new tech support request has been submitted. If the requested entered an email address, you will have been BCCed. Otherwise please review the Tech Support Log from the Joomla admin site.

First Name: Dann

Last Name: Dann

Email Address: [email]dmortensen@loft.org[/email]

Phone Number: fdjslkfsd

Support Request: {txtProblem}

Please contact by

Email: {check0[]}
Telephone: {check0[]}
Do not contact: {check0[]}



Submitted by xx.xxx.xxx.xxx

Thanks for your help
This topic is locked and no more replies can be posted.

VPS & Email Hosting 20% discount
hostinger