title: how to provide validations for react js form
body: <p>How to provide validations for react js form. </p>
  
  <p>I have taken form with two fields. if two fields are enabled then only need to enable save button.</p>
  
  <pre><code>import React from 'react'
  import { Button, Checkbox, Form } from 'semantic-ui-react'
  
  const FormExampleForm = () =&gt; (
    &lt;Form&gt;
      &lt;Form.Field&gt;
        &lt;label&gt;First Name&lt;/label&gt;
        &lt;input placeholder='First Name' /&gt;
      &lt;/Form.Field&gt;
      &lt;Form.Field&gt;
        &lt;label&gt;Last Name&lt;/label&gt;
        &lt;input placeholder='Last Name' /&gt;
      &lt;/Form.Field&gt;
      &lt;Form.Field&gt;
        &lt;Checkbox label='I agree to the Terms and Conditions' /&gt;
      &lt;/Form.Field&gt;
      &lt;Button type='submit'&gt;Submit&lt;/Button&gt;
    &lt;/Form&gt;
  )
  
  export default FormExampleForm
  </code></pre>