<form
  action="https://buttondown.email/api/emails/embed-subscribe/tag-enrollment-demo"
  method="post"
  target="popupwindow"
  onsubmit="window.open('https://buttondown.email/tag-enrollment-demo', 'popupwindow')"
  class="embeddable-buttondown-form"
>
  <label for="bd-email">Enter your email</label>
  <input type="email" name="email" id="bd-email">
  <input type="hidden" value="1" name="embed"/>
  <input type="submit" value="Subscribe" />
  
  
  <p>
  Are you a friend or a foe?
  <br />
  
  <input type="radio" name="tag" value="friends" checked>Friend<br>
  <input type="radio" name="tag" value="foes">Foe  
  </p>
  
  
  <p>
    <a href="https://buttondown.email" target="_blank">Powered by Buttondown.</a>
  </p>
</form>
Run Pen

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.