Check Box Group only emailing 1 result

boogieman 14 Nov, 2008
Hi there,

I have a check box Group and have 10 possible answers. Users are submitting 3 or 4 answers but my email only sends me the first answer. How do i fix this?

~Thanks 🤨
GreyHead 14 Nov, 2008
Hi boogieman,

Please see FAQ #19 "My checkbox fields aren't working".

Bob
boogieman 14 Nov, 2008
Hi all,
I've been at it all day and just wondering if someone out might assist me. I'm trying to get my form to submit more than once answer in my group checkbox. Thanks.

<table align="center" width="700" cellspacing="2" cellpadding="2">
  <tr>
    <td valign="top" class="Text"><input type="checkbox" name="Industry[]" value="Answer1" id="Answer1"></td> 
    <td class="Text">Answer1 / Answer1a</td>
    <td valign="top" class="Text"><input type="checkbox" name="Industry[]" value="Answer2"></td>
    <td class="Text">Answer 2</td>
  </tr>
  <tr>
    <td valign="top" class="Text"><input type="checkbox" name="Industry[]" value="Answer3"></td> 
    <td class="Text">Answer3</td>
    <td valign="top" class="Text"><input type="checkbox" name="Industry[]" value="Answer4"></td>
    <td class="Text">Answer4</td>
  </tr>
   <tr>
     <td valign="top" class="Text"><input type="checkbox" name="Industry[]" value="Answer4"></td> 
    <td class="Text">Answer5</td>
    <td valign="top" class="Text"><input type="checkbox" name="Industry[]" value="Answer6"></td>
    <td class="Text">Answer6</td>
  </tr>
  
   <tr>
    <td valign="top" class="Text"><input type="checkbox" name="Industry[]" value="Other"></td>
  	<td colspan="3" class="Text">Other; please specify  
     <input name="Industry Other" type="text" size="25"></td>
	</tr>
  </table>
Max_admin 15 Nov, 2008
Hi, is this V3.0 stable ? whats the email template code for this part ? it should be : {Industry}
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
GreyHead 15 Nov, 2008
Hi boogieman,

There's a little problem with the last text input field - names can't have spaces in them. Please change to
<input name="Industry_Other" type="text" size="25">
This might be causing the problem with the checkboxes if CF is reading this name as 'Industry'.

Bob
boogieman 15 Nov, 2008
hi guys,

I downloaded chronoforms two weeks ago so i assume i'm using the most recent version. I closed my spaces with a "_" and still no luck on the submission. i still only get 1 answer. here is the template for the email. Thanks.

Note: i'm not just getting one answer in my email, but also in my db.

~Thanks 8)

<table cellspacing="2" cellpadding="2" width="700">
  <tbody>
    <tr>
      <td class="Text" valign="top"><span>{Industry}</span></td>
      <td class="Text" valign="top">Answer1 / Answer1a</td>
      <td class="Text" valign="top"><span>{Industry}</span></td>
      <td class="Text" valign="top">Answer2</td>
    </tr>
    <tr>
      <td class="Text" valign="top"><span>{Industry}</span></td>
      <td class="Text" valign="top">Answer3</td>
      <td class="Text" valign="top"><span>{Industry}</span></td>
      <td class="Text" valign="top">Answer3</td>
    </tr>
    <tr>
      <td class="Text" valign="top"><span>{Industry}</span></td>
      <td class="Text" valign="top">Answer3</td>
      <td class="Text" valign="top"><span>{Industry}</span></td>
      <td class="Text" valign="top">Answer3</td>
    </tr>
    <tr>
      <td class="Text" valign="top"><span>{Industry}</span></td>
      <td class="Text" valign="top">Other; please specify</td>
      <td class="Text" valign="top"></td>
      <td class="Text" valign="top"> </td>
    </tr>
    <tr>
      <td class="Text" valign="top"></td>
      <td class="Text" valign="top"></td>
      <td class="Text" valign="top"></td>
      <td class="Text" valign="top"></td>
    </tr>
    <tr>
      <td class="Text" valign="top"></td>
      <td class="Text" valign="top"></td>
      <td class="Text" valign="top"></td>
      <td class="Text" valign="top"></td>
    </tr>
  </tbody>
</table>
boogieman 18 Nov, 2008
Hi Max,

I entered only {Industry} as you asked and this is the email i got... this is what i got, I exluded the email header info. I selected three items, but this seems to be returning several more!

Thanks.

<table border="0" cellpadding="0" width="700">
  <tr>
    <td valign="top"><p>Engineering,    Performance_Monitoring_Tracking_Systems, Real_Estate_Developers, Other</p></td>
    <td><p>Architects    / Builders</p></td>
    <td valign="top"><p>Engineering,    Performance_Monitoring_Tracking_Systems, Real_Estate_Developers, Other</p></td>
    <td><p>Consulting    & Business Services (legal, finance, etc)</p></td>
  </tr>
  <tr>
    <td valign="top"><p>Engineering,    Performance_Monitoring_Tracking_Systems, Real_Estate_Developers, Other</p></td>
    <td><p>Contractors</p></td>
    <td valign="top"><p>Engineering,    Performance_Monitoring_Tracking_Systems, Real_Estate_Developers, Other</p></td>
    <td><p>Energy    Service Providers</p></td>
  </tr>
  <tr>
    <td valign="top"><p>Engineering,    Performance_Monitoring_Tracking_Systems, Real_Estate_Developers, Other</p></td>
    <td><p>Engineering    (or/and Operations & Maintenance)</p></td>
    <td valign="top"><p>Engineering,    Performance_Monitoring_Tracking_Systems, Real_Estate_Developers, Other</p></td>
    <td><p>Mounting    System</p></td>
  </tr>
  <tr>
    <td valign="top"><p>Engineering,    Performance_Monitoring_Tracking_Systems, Real_Estate_Developers, Other</p></td>
    <td><p>Performance    Monitoring / Tracking Systems</p></td>
    <td valign="top"><p>Engineering,    Performance_Monitoring_Tracking_Systems, Real_Estate_Developers, Other</p></td>
    <td><p>PV    Distributors</p></td>
  </tr>
  <tr>
    <td valign="top"><p>Engineering,    Performance_Monitoring_Tracking_Systems, Real_Estate_Developers, Other</p></td>
    <td><p>PV    Installers</p></td>
    <td valign="top"><p>Engineering,    Performance_Monitoring_Tracking_Systems, Real_Estate_Developers, Other</p></td>
    <td><p>PV    Manufacturers & Equipment</p></td>
  </tr>
  <tr>
    <td valign="top"><p>Engineering,    Performance_Monitoring_Tracking_Systems, Real_Estate_Developers, Other</p></td>
    <td><p>Real    Estate Developers</p></td>
    <td valign="top"><p>Engineering,    Performance_Monitoring_Tracking_Systems, Real_Estate_Developers, Other</p></td>
    <td><p>Residential    or Small Office Solar/PV</p></td>
  </tr>
  <tr>
    <td valign="top"><p>Engineering,    Performance_Monitoring_Tracking_Systems, Real_Estate_Developers, Other</p></td>
    <td><p>Research    & Development / Testing</p></td>
    <td valign="top"><p>Engineering,    Performance_Monitoring_Tracking_Systems, Real_Estate_Developers, Other</p></td>
    <td><p>Solar    Hot Water Distributors</p></td>
  </tr>
  <tr>
    <td valign="top"><p>Engineering,    Performance_Monitoring_Tracking_Systems, Real_Estate_Developers, Other</p></td>
    <td><p>Solar    Hot Water Installers</p></td>
    <td valign="top"><p>Engineering,    Performance_Monitoring_Tracking_Systems, Real_Estate_Developers, Other</p></td>
    <td><p>Solar    Collectors / Inverters</p></td>
  </tr>
  <tr>
    <td valign="top"><p>Engineering,    Performance_Monitoring_Tracking_Systems, Real_Estate_Developers, Other</p></td>
    <td><p>Solar    Glass / Encapsulation</p></td>
    <td valign="top"><p>Engineering,    Performance_Monitoring_Tracking_Systems, Real_Estate_Developers, Other</p></td>
    <td><p>Solar    Thermal Electric Systems</p></td>
  </tr>
  <tr>
    <td valign="top"><p>Engineering,    Performance_Monitoring_Tracking_Systems, Real_Estate_Developers, Other</p></td>
    <td><p>ST    Manufacturers & Equipment</p></td>
    <td valign="top"><p>Engineering,    Performance_Monitoring_Tracking_Systems, Real_Estate_Developers, Other</p></td>
    <td><p>Utility    Scale Solar/PV</p></td>
  </tr>
  <tr>
    <td valign="top"><p>Engineering,    Performance_Monitoring_Tracking_Systems, Real_Estate_Developers, Other</p></td>
    <td colspan="3"><p> </p></td>
  </tr>
</table>
GreyHead 18 Nov, 2008
Hi Boogieman,

No, you've got the same four answers "Engineering, Performance_Monitoring_Tracking_Systems, Real_Estate_Developers, Other" but repeated 14 times because you have {Industry} 14 times in your template. Try replacing all of that with:
<tr><td>Industries: </td><td>{Industry}</td></tr>

Bob
boogieman 18 Nov, 2008
Hi Bob,

I created an email template for test purposes using only. {industry} nothing more, and i got those answers when submitting my form. Is it my form your asking me to make changes to 🤨

~Thanks
GreyHead 18 Nov, 2008
Hi Boogieman,

No, that needs to go in the Email template.

I'm as certain as I can be that you didn't get those answers from an email template with only {industry} in it. Maybe the old one is still there somewhere.

Bob
This topic is locked and no more replies can be posted.

VPS & Email Hosting 20% discount
hostinger