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

java - Custom OutputStreamAppender not run: LOGBACK: No context given for <MYAPPENDER> -

java - UML - How would you draw a try catch in a sequence diagram? -

c++ - No viable overloaded operator for references a map -