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.
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.