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

Popular posts from this blog

ubuntu - How to disable Kernel Module Signing in linux -

java - Ebean enhancement ignores a model -

How to combine associative arrays in bash? -