title: Cannot get jquery.multiple.select.js to validate and pass to php the boxes checked
body: <p>I am using jquery.multiple.select.js v1.1.0 and cannot get this to validate and pass the output to my php mailer. My objective is for the visitor to my site to select from multiple options requesting a quote. So far, I'm able to receive the email with all other fields validated but in the email, I receive"quote for: array" but no selections. Also related, I'm not getting the success or error message on the page even though the email is going out. Can anyone steer me in the right direction? I'll include the page in question here, <a href="http://cptest.info/h2contact375.html" rel="nofollow">http://cptest.info/h2contact375.html</a> </p>
  
  <p><strong>here's the validation js</strong></p>
  
  <pre><code>var Contact = {
  
  initialized: false,
  
  initialize: function() {
  
      if (this.initialized) return;
      this.initialized = true;
  
      this.build();
      this.events();
  
  },
  
  build: function() {
  
      this.validations();
  
  },
  
  events: function() {
  
  },
  
  validations: function() {
  
      $("#contactForm").validate({
          submitHandler: function(form) {
  
              $.ajax({
                  type: "POST",
                  url: "js/contact-form.php",
                  data: {
                      "name": $("#contactForm #name").val(),
                      "email": $("#contactForm #email").val(),
                      "telephone": $("#contactForm #telephone").val(),
                      "message": $("#contactForm #message").val(),
                      "ms": $("#contactForm #ms").val()
                  },
                  dataType: "json",
                  success: function (data) {
                      if (data.response == "success") {
  
                          $("#contactSuccess").removeClass("hidden");
                          $("#contactError").addClass("hidden");
  
                          $("#contactForm #name, #contactForm #email, #contactForm #telephone, #contactForm #message, #contactForm #ms")
                              .val("")
                              .blur()
                              .closest(".control-group")
                              .removeClass("success")
                              .removeClass("error");
  
                          if(($("#contactSuccess").position().top - 80) &lt; $(window).scrollTop()){
                              $("html, body").animate({
                                   scrollTop: $("#contactSuccess").offset().top - 80
                              }, 300);                                
                          }
  
                      } else {
  
                          $("#contactError").removeClass("hidden");
                          $("#contactSuccess").addClass("hidden");
  
                          if(($("#contactError").position().top - 80) &lt; $(window).scrollTop()){
                              $("html, body").animate({
                                   scrollTop: $("#contactError").offset().top - 80
                              }, 300);                                
                          }
  
                      }
                  }
  
              });
          },
          rules: {
              name: {
                  required: true
              },
              email: {
                  required: true,
                  email: true
              },
              telephone: {
                  required: true
              },
              message: {
                  required: true
              },
              ms:{
                  required: true,
                  message: 'Please select at least one'
              },
          },
          highlight: function (element) {
              $(element)
                  .closest(".control-group")
                  .removeClass("success")
                  .addClass("error");
          },
          success: function (element) {
              $(element)
                  .closest(".control-group")
                  .removeClass("error")
                  .addClass("success");
          }
      });
  
  }
  
  };
  
  Contact.initialize();
  </code></pre>
  
  <p><strong>here's the php</strong></p>
  
  <pre><code>&lt;?php 
  // check if fields passed are empty 
  
   if(empty($_POST['name'])   ||    
  empty($_POST['email'])  ||
  empty($_POST['message'])||
  empty($_POST['telephone'])||
  empty($_POST['ms']) ||   
  !filter_var($_POST['email'],FILTER_VALIDATE_EMAIL))    
    {     
     echo "No arguments Provided!";   return false;    
    } 
  
    $name = $_POST['name']; 
    $email_address = $_POST['email']; 
    $message = $_POST['message'];
    $telephone = $_POST['telephone'];
    $ms = $_POST['ms'];      
  
   // create email body and send it    
   $to = "myemail@gmail.com"; 
   // put your email 
   $email_subject = "Contact form submitted by:  $name"; $email_body = "You have received a new message. \n\n".                 
                 " Here are the details:\n \nName: $name \n ". 
                 "Telephone: $telephone \n" . 
                 "Quote For: $ms \n" .               
                 "Email: $email_address\n Message: \n $message"; 
   //$headers = "From: me@youremail.com\n"; 
   //$headers .= "Reply-To: $email_address";  
  
  
   mail($to,$email_subject,$email_body,$headers); return true;            
  ?&gt;
  </code></pre>