title: how do I pass in a custom validate message in react hook form?
body: <pre><code>  &lt;input name=&quot;request.url&quot; placeholder=&quot;URL&quot; ref={register({
      required: true,
      validate: validURL
    })} /&gt;
  </code></pre>
  <p>validURL is a function, but how do I display a custom message here?</p>