title: adding radio button to mail form
body: <p>I have a HTML form :
  <div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;form name="sentMessage" id="contactForm" novalidate&gt;
    &lt;div class="row control-group"&gt;
      &lt;div class="form-group col-xs-12 floating-label-form-group controls"&gt;
        &lt;label&gt;Name&lt;/label&gt;
        &lt;input type="text" class="form-control" placeholder="Name" id="name" required data-validation-required-message="Please enter your name."&gt;
        &lt;p class="help-block text-danger"&gt;&lt;/p&gt;
      &lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="row control-group"&gt;
      &lt;div class="form-group col-xs-12 floating-label-form-group controls"&gt;
        &lt;label&gt;Email Address&lt;/label&gt;
        &lt;input type="email" class="form-control" placeholder="Email Address" id="email" required data-validation-required-message="Please enter your email address."&gt;
        &lt;p class="help-block text-danger"&gt;&lt;/p&gt;
      &lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="row control-group"&gt;
      &lt;div class="form-group col-xs-12 floating-label-form-group controls"&gt;
        &lt;label&gt;Address&lt;/label&gt;
        &lt;input type="text" class="form-control" placeholder="Address" id="address" required data-validation-required-message="Please enter your street address."&gt;
        &lt;p class="help-block text-danger"&gt;&lt;/p&gt;
      &lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="row control-group"&gt;
      &lt;div class="form-group col-xs-12 floating-label-form-group controls"&gt;
        &lt;label&gt;Postcode&lt;/label&gt;
        &lt;input type="text" class="form-control" placeholder="Postcode" id="postcode" required data-validation-required-message="Please enter your postcode."&gt;
        &lt;p class="help-block text-danger"&gt;&lt;/p&gt;
      &lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="row control-group"&gt;
      &lt;div class="form-group col-xs-12 floating-label-form-group controls"&gt;
        &lt;label&gt;Cocktails&lt;/label&gt;
        &lt;textarea rows="5" class="form-control" placeholder="Please enter which cocktails you would like to order" id="message" required data-validation-required-message="Please enter which cocktails you would like to order."&gt;&lt;/textarea&gt;
        &lt;p class="help-block text-danger"&gt;&lt;/p&gt;
      &lt;/div&gt;
    &lt;/div&gt;
    &lt;br&gt;
    &lt;div id="success"&gt;&lt;/div&gt;
    &lt;div class="row"&gt;
      &lt;div class="form-group col-xs-12"&gt;
        &lt;button type="submit" class="btn btn-success btn-lg"&gt;Send&lt;/button&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/form&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>It is linked to a PHP file that will send the details to my email address </p>
  
  <pre><code>&lt;?php
  
  if(empty($_POST['name'])        ||
     empty($_POST['email'])       ||
     empty($_POST['address'])         ||
      empty($_POST['postcode'])       ||
     empty($_POST['message']) ||
     !filter_var($_POST['email'],FILTER_VALIDATE_EMAIL))
     {
      die( "No arguments Provided!" ); //any text other than 'success' will be considered fail.
     }
  
  $name = $_POST['name'];
  $email_address = $_POST['email'];
  $address = $_POST['address'];
  $postcode = $_POST['postcode'];
  $message = $_POST['message'];
  
  // Create the email and send the message
  $to = ''; 
  $email_subject = "subject:  $name";
  $email_body = "You have received a new message from your website contact form.\n\n"."Here are the details:\n\nName: $name\n\nEmail: $email_address\n\nAddress: $address\n\nPostcode: $postcode\n\nMessage:\n$message";
  $headers = "From: noreply@yourdomain.com\n"; 
  $headers .= "Reply-To: $email_address"; 
  
  /*** check if the mail() function was successful ***/
  if( mail($to,$email_subject,$email_body,$headers) ){
      die( "success" ); //the ajax code will use 'success' as the trigger to confirm email was sent
  }else{
      die( "email failed" );
  }
  </code></pre>
  
  <p>Is there a way that a radio button option can be added to the form and if it has been clicked be sent to my email as well?</p>