title: How can I make these 'Contact Form' fields required?
body: <pre><code>&lt;?php
  $youremail  = "info@mainmanfilms.com";
  $author   = $_POST['author'];
  $email      = $_POST['email'];
  $subject   = $_POST['subject'];
  $text   = $_POST['text'];
  
  
  if($send = "yes") {
      $content    = "Thank you for contacting Main Man Films!
  </code></pre>
  
  <p>Established in 1999, Main Man Films is a coalition of international producers, writers, directors, actors and technicians active in the TV / Film Industry. MMF is linked directly to notable talent (actors, producers, musicians, composers, etc.) and other industry professionals including distributors and syndicators. Whether you have an idea, completed script or a 'produced' program our team can assist you with taking your project from concept to distribution. MMF has produced projects in the United States, Japan, Belize, England and co-produced projects in South Africa, Bahrain and Singapore.";</p>
  
  <pre><code>    $headers    = "From: $email";
      @mail($email, 'Mail Notification | Main Man Films', $content, $headers);
  }
      $headers    = "From: $email";
      $content = "Hello there! This is a message from your contact form.\r\n
      \r\n
      Name: $author\r\n
      E-mail: $email\r\n
      Subject: $subject\r\n
      \r\n
      Message: $text\r\n\r\n";
      $send = mail($youremail, 'Message from your contact form', $content, $headers);
      if($send)    {
          header("location:contact-form-thank-you.html");
          exit;
      }
      else {
          header("location:error.php");
          exit;
      }
  ?&gt;
  </code></pre>