Forums

My checkboxes are returning {check1}

Carolyn 03 Oct, 2010
My check boxes are returning {check1}, etc when nothing is checked. When it is checked then it returns the value of a checkmark.

My template is set up correctly. I've read what is on the forum regarding checkboxes, but can't get it to return nothing if nothing is entered.

What is supposed to be on my template?
Here is a snippet of code for a checkbox.

<div class="form_item">
<div class="form_element cf_checkbox">
<label class="cf_label" style="width: 150px;">TLLC Member</label>
<div class="float_left">
<input value="√" title="" class="radio" id="check00" name="check0[]" type="checkbox" />
<label for="check00" class="check_label">Check if Member</label>
<br />
</div>

<div class="cfclear"> </div>
</div>

<div class="form_item">
<div class="form_element cf_checkbox">
<label class="cf_label" style="width: 150px;">Non-member</label>
<div class="float_left">
<input value="√" title="" class="radio" id="check10" name="check1[]" type="checkbox" />
<label for="check10" class="check_label">Check if Non-member</label>
</div>

My email template this reads for the above and if nothing is entered it will return {check0} and {check1} if nothing entered.
TLLC Member : {check0}
Non-member : {check1}

Please help. I've spent too much time on this. I've done forms for years using other scripts, such as asp. Can't figure what I'm doing wrong. Thanks.
Max_admin 03 Oct, 2010
Hi Carolyn,

This is a glitch with the current release, please contact me through the "Contact us" page to get the patch to fix that.

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Carolyn 03 Oct, 2010
Thank you, Max. This is most appreciated. I was going crazy. I contacted you under Contact Us. I almost did that before, but had to look up my Order #.

Thank you again. God bless.
This topic is locked and no more replies can be posted.