php - Yii2 cancel validation on the javascript side -
i need can opportunity enable/disable validation form on javascript side on event click example. use activerecord creating form.
you should set enableclientvalidation
false
:
$form = activeform::begin([ 'enableclientvalidation' => false, ]);
read more : http://www.yiiframework.com/doc-2.0/yii-widgets-activeform.html#$enableclientvalidation-detail
Comments
Post a Comment