title: yii2 disable the rules if a checkbox is selected
body: <p>In the active form, I have 3 textinput and one checkbox.
  All the 3 textinputs have rules that says cannot be empty. What I want is if the checkbox is clicked, It will disable the rules and will save the empty record in the database.</p>
  
  <p>here is screen shot of the active form..</p>
  
  <p><img src="https://i.stack.imgur.com/JTUcb.png" alt="enter image description here"></p>