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,
]
]);
?>
```[...]