title: Submit form in ReactJS using BUTTON element
body: <p>I'm building the form using ReactJS and if it has <code>&lt;input type=&quot;submit&quot;&gt;</code> element it works fine: forms submits by pressing enter in <code>input[type=&quot;text&quot;]</code> and by pressing submit element (And there are also working checkings by ReactJS when form is not submitted if nothing has changed).</p>
  <p>But if I replace <code>input[type=&quot;submit&quot;]</code> with <code>&lt;button&gt;ButtonLabel&lt;/button&gt;</code> I try to use 2 ways:</p>
  <ol>
  <li><p>Get form DOMNode element and call .submit() method which is not ok because it doesn't use internal ReactJS logic</p>
  </li>
  <li><p>Pass params to button like
  <code>&lt;button type=&quot;submit&quot; form=&quot;form-id&quot;&gt;</code>
  but it still doesn't use ReactJS checkings (I don't want to submit the form if nothing has changed)</p>
  </li>
  </ol>
  <p>So I would really appreciate if someone will suggest me how to submit the form in ReactJS correctly using <strong>BUTTON</strong> element.</p>