3 Replies Latest reply on Nov 26, 2007 7:17 AM by Damon Edwards

    HELP with Checkboxes on Flash 8 Form

      Using Flash 8: Everything works with the input text fields on forms. Now, there are two forms that use checkboxes!? One box is yes and one box is no. Whether a yes or a no, none appear in the email. Now, the other form has six checkbox choices plus a choice of a yes or no checkbox.

      Not sure how to do the checkboxes in Actionscript. .I have the checkboxes on the same layer as the FORM. I have spent 4 hours figuring why checkboxes do not appear in email. HELP!
      Both forms though do show title and typed information in email. The only thing the forms do not show are the checkbox choices.

      What appears in email:

      name / business: Business Name
      street: 90 Crossing
      city, state, zip: Somewhere, US 00000
      phone: 772-555-5555
      email: testing@comcast.net
      comments: Email

      From: <testing@comcast.net>
      Reply-To: testing@comcast.net
      Return-Path: testing@comcast.net

      THE PHP for the SALT FORM:


      $SendTo .= "art.design@comcast.net";
      $subject .= "Salt Form Reply";

      $headers = "From: " . $_POST["name"];
      $headers .= "<" . $_POST["email"] . ">\r\n";
      $headers .= "Reply-To: " . $_POST["email"] . "\r\n";
      $headers .= "Return-Path: " . $_POST["email"];

      $message .= "name / business: " . $_POST["namebus"]. "\r\n";
      $message .= "street: " . $_POST["address1"]. "\r\n";
      $message .= "city, state, zip: " . $_POST["address2"]. "\r\n";
      $message .= "phone: " . $_POST["phone"]. "\r\n";
      $message .= "email: " . $_POST["email"]. "\r\n";
      $message .= "comments: " . $_POST["comments"]. "\r\n";

      $checkbox = ($_GET['mycheckbox'] == 1);

      mail($SendTo, $subject, $headers, $message, $checkbox);

      header('Location: http://ecowaterpb.com/thanks.html');