title: Using ACF get_field in custom form
body: <p>I am using ACF options to save and email address for contact forms. Using Wordpress multi-site I can set who I want the forms to go to through the options panel. The form is sending out the auto responder, but it is not submitting to the saved email address.</p>
  
  <pre><code>&lt;?php
  $contact_form_email = get_field('contact_form_email','options');
  $cyber_to = array($contact_form_email);
  # CyberMark Subject Line
  $cyber_subject  = $s." Form Submission";
  
  # Headers of email
  $cyber_headers  = "From: " . strip_tags('noreply@email.com') . "\r\n";
  $cyber_headers .= "MIME-Version: 1.0" . "\r\n";
  $cyber_headers .= "Content-Type: text/html; charset=ISO-8859-1" . "\r\n";
  
  # CyberMark message
  $cyber_msg = '&lt;table width="500" border="0" cellspacing="0" cellpadding="0"&gt;
  &lt;tr&gt;
  &lt;td&gt;Name:&lt;/td&gt;
  &lt;td style="margin-left: 5px;"&gt;'.$n.'&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
  &lt;td&gt;Email:&lt;/td&gt;
  &lt;td style="margin-left: 5px;"&gt;'.$e.'&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
  &lt;td&gt;Phone:&lt;/td&gt;
  &lt;td style="margin-left: 5px;"&gt;'.$t.'&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
  &lt;td&gt;Message:&lt;/td&gt;
  &lt;td style="margin-left: 5px;"&gt;'.$m.'&lt;/td&gt;
  &lt;/tr&gt;
  &lt;/table&gt;';
  
  # Loop through all email recipients
  foreach($cyber_to as $cyber_email)
  {
      mail($cyber_email,$cyber_subject,$cyber_msg,$cyber_headers);
  }
  
  ?&gt;
  </code></pre>