yii2 - ActiveForm - disable javascript validation

yii2
voted: 0
vote
php framework yii2 form validation

Yii2 Active form has two options form enable disable client side validation and ajax validation. Theese option can be set true or false.

// here client side validation and ajax validation are set false
$groupForm = ActiveForm::begin([
     'enableClientValidation' => false,
     'enableAjaxValidation' => false,
]);
working url: not entered
version: 2
Leave a Comment:
Characters left:
No comments yet.