title: BootstrapValidator conditional validation
body: <p>I'm using <a href="http://www.bootstrapvalidator.com" rel="nofollow">BootstrapValidator</a> and I have some text fields and a radio button with 2 options, I need to validate a text field only if the radiobutton option 2 is selected, how can I obtain it?</p>
  
  <p>This is the form:</p>
  
  <pre><code>&lt;form action="/it/Account/SignUp" class="form-horizontal" id="signup_form" method="post" role="form"&gt;
  &lt;label&gt;Name&lt;/label&gt;
  &lt;input type="text" name="name" class="form-control" id="name"&gt;
  &lt;label&gt;Company&lt;/label&gt;
  &lt;input type="text" name="company" class="form-control" id="company"&gt;
  &lt;input type="radio" name="usertype" value="0"&gt;&lt;label&gt;Private&lt;/label&gt;
  &lt;input type="radio" name="usertype" value="1"&gt;&lt;label&gt;Company&lt;/label&gt;
  
  &lt;/form&gt;
  </code></pre>
  
  <p>This is the JavaScript for BootstrapValidator:</p>
  
  <pre><code>$('#signup_form').bootstrapValidator({
      message: 'This value is not valid',
      live: 'disabled',
      feedbackIcons: {
          valid: 'glyphicon glyphicon-ok',
          invalid: 'glyphicon glyphicon-remove',
          validating: 'glyphicon glyphicon-refresh'
      },
      fields: {
          name: {
              validators: {
                  notEmpty: {
                      message: 'required'
                  },
              }                
          },
          company: {
              validators: {
                  notEmpty: {
                      message: 'required'
                  },
              }                
          },
      }
  }
  </code></pre>
  
  <p>I need only to validate the "company" field only if the radio value of 'usertype' is equal to 1</p>