Forums

I Could Use Some Additional Eyes, Blank Email

kkdesignsbm 27 Oct, 2008
I've looked over these codes until they are running into each other...*smile* If I could use the assistance of fresh eyes to see what is causing my email template to produce a blank email, I would greatly appreciate it.

Thanks,

Form Code:

<style type="text/css">
<!--
.style1 {font-size: 16px}
-->
</style>
<DIV class="form_item" >
<DIV class="cf_heading" >
<H1 class="cf_text" id="" >Insurance Options Direct Quote Form</H1></DIV>
<DIV class="clear" > </DIV></DIV>
<DIV class="form_item"   >
<DIV class="cf_textbox" ><LABEL class="cf_label" >Contact Person:</LABEL><INPUT name="text_15" type="text" class="text_box" id="text_15" >
</DIV>
<DIV class="clear" > </DIV></DIV>
<DIV class="form_item"   >
<DIV class="cf_radiobutton" ><LABEL class="cf_label" >Preferred Method of Contact:</LABEL>
<DIV class="float_left" ><INPUT class="radio" id="Email0"  type="radio" value="Email" name="radio0" ><LABEL class="radio_label" for="Email0" >Email</LABEL>
  <INPUT class="radio" id="_Phone0"  type="radio" value="Phone" name="radio0" ><LABEL class="radio_label" for="_Phone0" > Phone</LABEL><BR ></DIV></DIV>
<DIV class="clear" > </DIV></DIV>
<DIV class="form_item"   >
<DIV class="cf_dropdown" ><LABEL class="cf_label" >Message Subject:</LABEL><SELECT class="cf_dropdown" id="select_17" name="select_17" ><OPTION value="Select One..." >Select One...</OPTION><OPTION value="Get A Quote"  > Get A Quote</OPTION><OPTION value="Need more Information" > Need more Information</OPTION><OPTION value="Policy Status" > Policy Status</OPTION></SELECT></DIV>
<DIV class="clear" > </DIV></DIV>
<DIV class="form_item"   >
<DIV class="cf_checkbox" ><LABEL class="cf_label" >Commercial Insurance:</LABEL>
<DIV class="float_left" >
  <table width="700" border="0">
    <tr>
      <td width="154"><input class="radio" id="Have_a Policy"  type="checkbox" value="Have a Policy" name="checkbox[]" >
        <label class="check_label" for="Have_a Policy" >Have A Policy</label></td>
      <td width="182"><input class="radio" id="_Not Interested"  type="checkbox" value="Not Interested" name="checkbox[]" >
        <label class="check_label" for="_Not Interested" > Not Interested</label></td>
      <td width="162"><input class="radio" id="_Business Liability"  type="checkbox" value="Business Liability" name="checkbox[]" >
        <label class="check_label" for="_Business Liability" > Business Liability</label></td>
      <td width="184"><input class="radio" id="_Contractors Liability"  type="checkbox" value="Contractors Liability" name="checkbox[]" >
        <label class="check_label" for="_Contractors Liability" > Contractors Liability</label></td>
      </tr>
    <tr>
      <td><input class="radio" id="_Truckers Liability"  type="checkbox" value="Truckers Liability" name="checkbox[]" >
        <label class="check_label" for="_Truckers Liability" > Truckers Liability</label></td>
      <td><input class="radio" id="_Workers Compensation"  type="checkbox" value="Workers Compensation" name="checkbox[]" >
        <label class="check_label" for="checkbox[]" > Workers Compensation</label></td>
      <td><input class="radio" id="_Garagekeepers"  type="checkbox" value=" Garagekeepers" name="checkbox[]" >
        <label class="check_label" for="_Garagekeepers" > Garagekeepers</label></td>
      <td><input class="radio" id="_Commercial Auto"  type="checkbox" value="Commercial Auto" name="checkbox[]" >
        <label class="check_label" for="_Commercial Auto" > Commercial Auto</label></td>
      </tr>
    <tr>
      <td><input class="radio" id="_Liquor Liability"  type="checkbox" value="Liquor Liability" name="checkbox[]" >
        <label class="check_label" for="_Liquor Liability" > Liquor Liability</label></td>
      <td><input class="radio" id="_Commercial Property"  type="checkbox" value="Commercial Property" name="checkbox[]" >
        <label class="check_label" for="_Commercial Property" > Commercial Property</label></td>
      <td><input class="radio" id="_Commercial Umbrella"  type="checkbox" value="Commercial Umbrella" name="checkbox[]" >
        <label class="check_label" for="_Commercial Umbrella" > Commercial Umbrella</label></td>
      <td><input class="radio" id="_Payroll Services"  type="checkbox" value="Payroll Services" name="checkbox[]" >
        <label class="check_label" for="_Payroll Services" > Payroll Services</label></td>
      </tr>
    <tr>
      <td><input class="radio" id="_Restaurant Liability"  type="checkbox" value="Restaurant Liability" name="checkbox[]" >
        <label class="check_label" for="_Restaurant Liability" > Restaurant Liability</label>
        <br >
        <label class="check_label" for="_Commercial Umbrella" ></label></td>
      <td><input class="radio" id="_Professional Liability"  type="checkbox" value="Professional Liability" name="checkbox[]" >
        <label class="check_label" for="_Professional Liability" > Professional Liability</label></td>
            </tr>
  </table>
  
  <BR >
</DIV></DIV>
<DIV class="clear" > </DIV></DIV>
<DIV class="form_item"   >
<DIV class="cf_checkbox" ><LABEL class="cf_label" >Personal Insurance:</LABEL>
<DIV class="float_left" >
  <table width="648" border="0">
    <tr>
      <td width="235"><input class="radio" id="Have_a Policy2"  type="checkbox" value="Have a Policy" name="personal[]" >
        <label class="check_label" for="Have_a Policy2" >Have A Policy</label></td>
      <td width="124"><input class="radio" id="_Not Interested2"  type=checkbox value="Not Interested" name="personal[]" >
        <label class="check_label" for="_Not Interested2" > Not Interested</label></td>
      <td width="142"><input class="radio" id="_Personal Umbrella"  type="checkbox" value="Personal Umbrella" name="personal[]" >
        <label class="check_label" for="_Personal Umbrella" > Personal Umbrella</label></td>
      <td width="129"><input class="radio" id="_Condos/Renters"  type="checkbox" value="Condos/Renters" name="personal[]" >
        <label class="check_label" for="_Condos/Renters" > Condos/Renters</label></td>
      </tr>
    <tr>
      <td><input class="radio" id="_Motorcycle"  type="checkbox" value="Motorcycle" name="personal[]" >
        <label class="check_label" for="_Motorcycle" > Motorcycle</label></td>
      <td><input class="radio" id="_Mobile Homes"  type="checkbox" value="Mobile Homes" name="personal[]" >
        <label class="check_label" for="_Mobile Homes" > Mobile Homes</label></td>
      <td><input class="radio" id="_Watercraft"  type="checkbox" value="Watercraft" name="personal[]" >
        <label class="check_label" for="_Watercraft" > Watercraft</label></td>
      <td><input class="radio" id="_Homeowners"  type="checkbox" value="Homeowners" name="personal[]" >
        <label class="check_label" for="_Homeowners" > Homeowners</label></td>
      </tr>
    <tr>
      <td height="24">
        <input class="radio" id="_Comprehensive Personal Liability"  type="checkbox" value=" Comprehensive Personal Liability" name="personal[]" >
Comprehensive Personal Liability</label></td>
      <td><label class="check_label" for="_Watercraft" >
        <input class="radio" id="_Personal Auto"  type="checkbox" value="Personal Auto" name="personal[]" >
Personal Auto</label></td>
           
      </tr>
  </table>
    <BR >
  
  <p class="style1">Click continue to complete your contact information</p>
  <p><span class="clear">
    <label>
    <input type="submit" name="continue" id="continue" value="Continue">
    </label>
  </span><BR >
  </p>
</DIV></DIV>
<DIV class="clear" >
    <label></label>
    <p> </p>
</DIV></DIV>


Email Template:

Insurance Options Direct Quote Request

Contact Person: {text_15}

Method of Contact: {radio0}

Message Subject: {select_17}

Type of Insurance Interested In:

Commercial Insurance: {checkbox}

Personal Insurance: {personal}
Max_admin 27 Oct, 2008
Hi kkdesignsbm,

I see no reason, whats your CF version ? your Joomla version ? can you turn debug on and tell me what you see after the form is submitted ?

Cheers
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
kkdesignsbm 28 Oct, 2008
I am using CF v3.0 and Joomla v 1.5.6... Thanks,


This is what is deplayed in the debugging:


Profile Information
Application afterLoad: 0.015 seconds, 1.03 MB
Application afterInitialise: 0.141 seconds, 4.71 MB
Application afterRoute: 0.151 seconds, 5.00 MB
Application afterDispatch: 0.236 seconds, 5.84 MB
Application afterRender: 0.722 seconds, 8.53 MB
Memory Usage
8983088
10 queries logged
SELECT * 
  FROM jos_components 
  WHERE parent = 0
SELECT folder AS type, element AS name, params 
  FROM jos_plugins 
  WHERE published >= 1 
  AND access <= 0 
  ORDER BY ordering
SELECT m.*, c.`option` AS component 
  FROM jos_menu AS m 
  LEFT JOIN jos_components AS c 
  ON m.componentid = c.id 
  WHERE m.published = 1 
  ORDER BY m.sublevel, m.parent, m.ordering
SELECT template 
  FROM jos_templates_menu 
  WHERE client_id = 0 
  AND (menuid = 0 OR menuid = 0) 
  ORDER BY menuid DESC 
  LIMIT 0, 1
SELECT * 
  FROM jos_jcontactsconfig 
  LIMIT 1
SELECT id, title, module, position, content, showtitle, control, params 
  FROM jos_modules AS m 
  LEFT JOIN jos_modules_menu AS mm 
  ON mm.moduleid = m.id 
  WHERE m.published = 1 
  AND m.access <= 0 
  AND m.client_id = 0 
  AND ( mm.menuid = 0 OR mm.menuid = 0 ) 
  ORDER BY position, ordering
SELECT MONTH( created ) AS created_month, created, id, sectionid, title, YEAR(created) AS created_year 
  FROM jos_content 
  WHERE ( state = -1 
  AND checked_out = 0 ) 
  GROUP BY created_year DESC, created_month DESC 
  LIMIT 0, 5
SELECT a.*, CASE WHEN CHAR_LENGTH(a.alias) THEN CONCAT_WS(":", a.id, a.alias) ELSE a.id END AS slug, CASE WHEN CHAR_LENGTH(cc.alias) THEN CONCAT_WS(":", cc.id, cc.alias) ELSE cc.id END AS catslug 
  FROM jos_content AS a 
  LEFT JOIN jos_content_frontpage AS f 
  ON f.content_id = a.id 
  INNER JOIN jos_categories AS cc 
  ON cc.id = a.catid 
  INNER JOIN jos_sections AS s 
  ON s.id = a.sectionid 
  WHERE ( a.state = 1 
  AND s.id > 0 ) 
  AND ( a.publish_up = '0000-00-00 00:00:00' OR a.publish_up <= '2008-10-28 00:07:19' ) 
  AND ( a.publish_down = '0000-00-00 00:00:00' OR a.publish_down >= '2008-10-28 00:07:19' ) 
  AND a.access <= 0 
  AND cc.access <= 0 
  AND s.access <= 0 
  AND (s.id=9) 
  AND s.published = 1 
  AND cc.published = 1 
  ORDER BY a.hits DESC 
  LIMIT 0, 5
SELECT * 
  FROM jos_jcontactsconfig 
  LIMIT 1
SELECT a.*, CASE WHEN CHAR_LENGTH(a.alias) THEN CONCAT_WS(":", a.id, a.alias) ELSE a.id END AS slug, CASE WHEN CHAR_LENGTH(cc.alias) THEN CONCAT_WS(":", cc.id, cc.alias) ELSE cc.id END AS catslug 
  FROM jos_content AS a 
  INNER JOIN jos_categories AS cc 
  ON cc.id = a.catid 
  INNER JOIN jos_sections AS s 
  ON s.id = a.sectionid 
  WHERE a.state = 1  
  AND a.access <= 0 
  AND cc.access <= 0 
  AND s.access <= 0 
  AND (a.publish_up = '0000-00-00 00:00:00' OR a.publish_up <= '2008-10-28 00:07:19' )  
  AND (a.publish_down = '0000-00-00 00:00:00' OR a.publish_down >= '2008-10-28 00:07:19' ) 
  AND cc.id = 3 
  AND cc.section = s.id 
  AND cc.published = 1 
  AND s.published = 1 
  ORDER BY a.ordering
0 legacy queries logged
Language Files Loaded
/homepages/31/d237632830/htdocs/wsb4851896901/language/en-GB/en-GB.ini 1
/homepages/31/d237632830/htdocs/wsb4851896901/language/en-GB/en-GB.plg_system_debug.ini 1
/homepages/31/d237632830/htdocs/wsb4851896901/language/en-GB/en-GB.com_jcontacts.ini 
/homepages/31/d237632830/htdocs/wsb4851896901/language/en-GB/en-GB.tpl_ja_edenite.ini 
/homepages/31/d237632830/htdocs/wsb4851896901/language/en-GB/en-GB.mod_footer.ini 1
/homepages/31/d237632830/htdocs/wsb4851896901/language/en-GB/en-GB.mod_mainmenu.ini 1
/homepages/31/d237632830/htdocs/wsb4851896901/language/en-GB/en-GB.mod_archive.ini 1
/homepages/31/d237632830/htdocs/wsb4851896901/language/en-GB/en-GB.mod_mostread.ini 1
/homepages/31/d237632830/htdocs/wsb4851896901/language/en-GB/en-GB.mod_breadcrumbs.ini 1
/homepages/31/d237632830/htdocs/wsb4851896901/language/en-GB/en-GB.mod_jcontactslead.ini 
/homepages/31/d237632830/htdocs/wsb4851896901/language/en-GB/en-GB.mod_feed.ini 1
/homepages/31/d237632830/htdocs/wsb4851896901/language/en-GB/en-GB.mod_search.ini 1
/homepages/31/d237632830/htdocs/wsb4851896901/language/en-GB/en-GB.mod_newsflash.ini 1
Untranslated Strings Diagnostic
NoneUntranslated Strings Designer
None
Max_admin 28 Oct, 2008
I mean the CF debug at the general tab of the form itself!

Cheers
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
kkdesignsbm 28 Oct, 2008
I apologize. I had the CF debug set to on already, nothing comes up after I submit. It takes me to the page that I have set it to redirected to after submit. If I may, could I send u a PM with login credentials to further investigate?
GreyHead 28 Oct, 2008
Hi kkdesignsbm,

Please remove your redirect email temporarily and then check the debug results.

Bob

PS I don't think this is causing your problem but you have several invalid id's in your code. They should not contain spaces or slashes and should start with a letter [a-zA-Z] not an underscore.
Max_admin 28 Oct, 2008
Hi kkdesignsbm,

Beside the issues Bob mentioned, I have checked your site prior to your PM, you have BETA 2 installed, you should upgrade to V3 stable!

Cheers
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
kkdesignsbm 28 Oct, 2008
Thanks everyone!!! After I upgraded to the v 3.0 Stable the email template worked perfectly!!!

Emailed template

Insurance Options Direct Quote Form


Contact Person: testing

Method of Contact: Email

Message Subject: Get A Quote

Type of Insurance:

Commercial Insurance: Truckers Liability, Commercial Auto

Personal Insurance: Condos/Renters, Motorcycle
This topic is locked and no more replies can be posted.