FormBuilder omits the "comment" when sending email.

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
elbmw
New Member
New Member
Posts: 8
Joined: Mon Dec 07, 2009 11:04 pm

FormBuilder omits the "comment" when sending email.

Post by elbmw »

Hi all,

I have been having some problems with Formbuilder module and "Contact Form" that does not include the "message" that's typed in the form. I receive all the other fields correctly and have changed the "send to" email template from {$message} to {$fld_14} and back again and the message field is still blank.

However, the strange thing is that when I click "Send me a copy of form" the copy is received with the message field correctly displayed.

I'll include the relevant info below so any help to resolve this would be very much appreciated as I've looked at the various solutions in this forum and none appear to have helped.

Email template:
***************************
<h1>FormBuilder Submission</h1>
<strong>Form Name</strong>: {$sub_form_name}<br />
<strong>Date of Submission</strong>: {$sub_date}<br />
<strong>Your server</strong>: {$sub_host}<br />
<strong>IP address of person using form</strong>: {$sub_source_ip}<br />
<strong>URL of page containing form</strong>: {$sub_url}<br />
<strong>FormBuilder version</strong>: {$fb_version}<br />
<strong>Tab Character</strong>: {$TAB}<br />

<hr />
{if $fld_10 != "" && $fld_10 != "[unspecified]" }<strong>Your Name</strong>: {$fld_10}<br />{/if}
{if $fld_11 != "" && $fld_11 != "[unspecified]" }<strong>Your Email Address</strong>: {$fld_11}<br />{/if}
{if $fld_12 != "" && $fld_12 != "[unspecified]" }<strong>Email Again</strong>: {$fld_12}<br />{/if}
{if $fld_13 != "" && $fld_13 != "[unspecified]" }<strong>Subject</strong>: {$fld_13}<br />{/if}
{if $fld_14 != "" && $fld_14 != "[unspecified]" }<strong>Subject</strong>: {$fld_14}<br />{/if}
***************************
I have also tried the following...

{if $message != "" && $message != "[unspecified]" }<strong>Subject</strong>: {$message}<br />{/if}

...which has not fixed it.


Email Received:
***************************
FormBuilder Submission
Form Name: Contact Form
Date of Submission: Tue, 19 Jul 2011 18:58:41 +0100 Your server:xxxx.net IP address of person using form: 81.xx.xxx.xxx URL of page containing form: http://xxxx.net/index.php?page=default-extensions
FormBuilder version: 0.7
Tab Character:
->
-------------------------------------------------
Your Name: John Smith
Your Email Address: name@xxxx.net
Email Again: name@xxxx.net
Subject: This is a test
Message:
***************************

User Copy of email received:
***************************
FormBuilder Submission
Form Name: Contact Form
Date of Submission: Tue, 19 Jul 2011 18:58:42 +0100
Your server: xxxx.net
IP address of person using form: 81.xx.xxx.xxx
URL of page containing form: http://xxxx.net/index.php?page=default-extensions
FormBuilder version: 0.7
Tab Character:

--------------------------------------------------------------------------------
Your Name: John Smith
Your Email Address: name@xxxx.net
Email Again: name@xxxx.net
Subject: This is a test
Message:This is a test for the contact form. <-This is correct
***************************

FYI...

CMS Version: 1.9.4.1
FormBuilder: 0.7
Apache: Linux 2.6.32.21-3.art.x86_64 On x86_64
PHP: 5.2.14
MySQL: 5.0.77

Installed modules:
CMSMailer:2.0.1
FileManager:1.1.0
MenuManager:1.7.6
ModuleManager:1.4.2
News:2.11.2
nuSOAP:1.0.2
Printing:1.1.2
Search:1.6.10
ThemeManager:1.1.4
TinyMCE:2.8.4
jQuery:1.1.3
CGExtensions:1.25.4
JQueryTools:1.0.10
Showtime:2.0.4
FormBuilder:0.7
Captcha:0.4.3
spcherub
Power Poster
Power Poster
Posts: 402
Joined: Fri Jun 06, 2008 5:54 pm

Re: FormBuilder omits the "comment" when sending email.

Post by spcherub »

Have you tried to regenerate the form email template? I've had a problem before where the template was working, then I move some fields around and then field reference stop working (older version of Form Builder). Try to regenerate the email template within the Module and start from there.

S
elbmw
New Member
New Member
Posts: 8
Joined: Mon Dec 07, 2009 11:04 pm

Re: FormBuilder omits the "comment" when sending email.

Post by elbmw »

Thank you for the quick response spcherub.

Yep, I tried that with both the standard and HTML templates. I even tried using the "advanced form" and regenerating the template code and that did not work either.

I guess the next step is to uninstall and reinstall the FormBuilder module and see if that helps, unless anyone has any other ideas?

Thanks again.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: FormBuilder omits the "comment" when sending email.

Post by Dr.CSS »

I would look again at the email template, most likely it has 2 of them, one for copy sent to user and one sent to owner found under the email to field...
Post Reply

Return to “Modules/Add-Ons”