close ad
Help us test the new Databridge BETA with MySQLi support
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Blank checkbox responces in email

Thread began 5/26/2010 12:03 pm by christina.elissa4324782 | Last modified 5/26/2010 2:15 pm by christina.elissa4324782 | 653 views | 3 replies


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&nbsp;
<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 class="checkSublabel_Wide" for="Appointment_request_group_Confirm_by__2" onblur="hideServerError('Appointment_request_group_Confirm_by__1_ServerError');"> Phone&nbsp;
<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" />
</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>
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.

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...