-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
I have empty validation rules array in the object parameters but I set it up in the beforeValidate method.
Because this method is not executed by the Plugin my array stays empty end therefore there is no validation JavaScript code in the page.
There is an easy fix, just run beforeValidate in the helper class:
Line: 47
$model = classRegistry::init($modelName);
$model->beforeValidate();
$arr=explode('.',$modelName);
Metadata
Metadata
Assignees
Labels
No labels