Difference between #13 and #14 of
Render Form in popup via AJAX (Create and Update) with ajax validation & Also load any page via ajax Yii 2.0 (2.3)

Revision #14 has been created by skworden on May 5, 2015, 12:08:18 AM with the memo:

fixed typo
« previous (#13) next (#15) »

Changes

Title unchanged

Render Form in popup via AJAX (Create and Update) with ajax validation & Also load any page via ajax Yii 2.0 (2.3)

Category unchanged

How-tos

Yii version unchanged

Tags unchanged

AJAX, modal, ajax modal, bootstrap, yii2, lifedup

Content changed

[...]
```


Next you need to tell each and every form to still use inline validation. Things you must do here!

**1. All forms MUST have an ID

 
2. You must enable client validation manually
**

if both of those are not set the form will NOT do client/ajax validation.
[...]
$form = ActiveForm::begin([
'options' => [
'id' => 'create-product-form'
,
 
                    'enableClentValidtaion' => true,

]
]);
?>
```
[...]
21 0
28 followers
Viewed: 246 038 times
Version: 2.0
Category: How-tos
Written by: skworden
Last updated by: Yii3
Created on: Apr 8, 2015
Last updated: 6 years ago
Update Article

Revisions

View all history