Blank checkbox responces in email
I created a form with checkboxes in it. When the email is sent the values are not there, they are blank.
The code that was generated for the form:
<span id="Appointment_request_group_Confirm_by__1_Spry"> <span class="checkFieldGroup_Wide"> <span class="checkGroup_Wide">
<label class="checkSublabel_Wide" for="Appointment_request_group_Confirm_by__1" onblur="hideServerError('Appointment_request_group_Confirm_by__1_ServerError');"> Email
<input type="checkbox" name="Appointment_request_group_Confirm_by[]" id="Appointment_request_group_Confirm_by__1" value="Email" class="formCheckboxField_Standard" <?php if (!(strcmp((isset($_GET["invalid"])?ValidatedField("contact","Appointment_request_group_Confirm_by"):""),"Email"))) {echo "checked=\"checked\"";} ?> tabindex="7" />
</label>
<label class="checkSublabel_Wide" for="Appointment_request_group_Confirm_by__2" onblur="hideServerError('Appointment_request_group_Confirm_by__1_ServerError');"> Phone
<input type="checkbox" name="Appointment_request_group_Confirm_by[]" id="Appointment_request_group_Confirm_by__2" value="Phone" class="formCheckboxField_Standard" <?php if (!(strcmp((isset($_GET["invalid"])?ValidatedField("contact","Appointment_request_group_Confirm_by"):""),"Phone"))) {echo "checked=\"checked\"";} ?> tabindex="8" />
</label>
</span> </span> <span class="checkboxMinSelectionsMsg">Please
select a valid value.</span><span class="checkboxRequiredMsg">Please
check the box associated with the best way of contacting
you or click both.</span> </span>
<?php
if (ValidatedField('contact','contact')) {
if ((strpos((",".ValidatedField("contact","contact").","), "," . "7" . ",") !== false || "7" == "")) {
if (!(false)) {
?>
and the the WAUE_contact_1.php file generated:
$MailBody = $MailBody . ((isset($_POST["Appointment_request_group_Contact_by"]))?implode(", ", $_POST["Appointment_request_group_Contact_by"]):"");
am I missing something?
Thank you in advance.