I have got difficult form in yii2 view, where some fields show or hide. It decide from user field choises, select options in the form. I write this frontend logic with custom jq
To disable client side validation. Begin your active form like this.
ActiveForm::begin(['enableClientValidation'=>false]);