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

Comparing #13 with #14

Revision #14 was created by skworden skworden on May 5, 2015, 12:08:18 AM.

fixed typo

Content

[...]
```


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,

]
]);
?>
```
[...]