title: react-hook-form do not send PasswordConfirm
body: <p>Hello  guys I'm using react-hook-form library
  it's really awesome library for me !</p>
  <p>but I have some problem at this time
  I don't want to send pwdConfirm value, cuz this value gets me 400 erros,
  so How can I send values without pwdConfirm ?</p>
  <p>I just only want to send id , pwd , nickname !</p>
  <pre><code>    const dispatch = useDispatch();
  const { register, watch, errors, handleSubmit } = useForm();
  const password = useRef();
  password.current = watch('password');
  const type = 'normal';
  const onSubmit = (data) =&gt; {
      console.log(data);
      dispatch(signUpRequest(data));
  };
  useEffect(() =&gt; {});
  return (
      &lt;&gt;
          &lt;form
              onSubmit={handleSubmit(onSubmit)}
              className={styles.signup__form}
          &gt;
              &lt;label&gt;email&lt;/label&gt;
              &lt;input
                  name=&quot;email&quot;
                  type=&quot;text&quot;
                  ref={register({ required: true, pattern: /^\S+@\S+$/i })}
                  placeholder=&quot;&amp;#xf0e0;&quot;
              /&gt;
              {errors.email &amp;&amp; (
                  &lt;p className={styles.error__message}&gt;
                     incorrect email
                  &lt;/p&gt;
              )}
  
              &lt;label&gt;password&lt;/label&gt;
              &lt;input
                  name=&quot;password&quot;
                  type=&quot;password&quot;
                  ref={register({ required: true, minLength: 6 })}
                  placeholder=&quot;&amp;#xf09c;&quot;
              /&gt;
              {errors.password &amp;&amp; errors.password.type === 'required' &amp;&amp; (
                  &lt;p className={styles.error__message}&gt;
                      password plz
                  &lt;/p&gt;
              )}
              {errors.password &amp;&amp; errors.password.type === 'minLength' &amp;&amp; (
                  &lt;p className={styles.error__message}&gt;
                     at least 6character
                  &lt;/p&gt;
              )}
  
              &lt;label&gt;password confirm &lt;/label&gt;
              &lt;input
                  type=&quot;password&quot;
                  name=&quot;pwdConfirm&quot;
                  ref={register({
                      required: true,
                      validate: (value) =&gt; value === password.current,
                  })}
                  placeholder=&quot;&amp;#xf09c;&quot;
              /&gt;
              {errors.pwdConfirm &amp;&amp; errors.pwdConfirm.type === 'required' &amp;&amp; (
                  &lt;p className={styles.error__message}&gt;
                     check your password
                  &lt;/p&gt;
              )}
              {errors.pwdConfirm &amp;&amp; errors.pwdConfirm.type === 'validate' &amp;&amp; (
                  &lt;p className={styles.error__message}&gt;
                    not correct your password
                  &lt;/p&gt;
              )}
  </code></pre>