<auto-check>

back edit

Type 422 for an invalid response. When check is successful, return a confirmatioon string to communicate the state for accessibility.

<form class="container-sm ml-0">
  <auto-check src="/auto_check" class="form-group" required csrf="<%= authenticity_token_for(check_path) %>">
    <div class="input-group">
      <input class="form-control width-full" type="text" id="account" autocomplete="off" autofocus>
      <span class="input-group-button">
        <button type="submit" class="btn">Submit</button>
      </span>
    </div>
  </auto-check>
  <span class="text-gray f6">The default invalid message is "Something went wrong".</span>
</form>