<form>
  <p>
    <label>
      A simple required field. Try submitting without filling it in.<br>
      <input type="text" name="foo" required>
    </label>
  </p>
  <p>
    <button>go</button>
  </p>
</form>

<script>hyperform(window);</script>