Quantcast
Channel: Yii Framework Forum
Viewing all articles
Browse latest Browse all 18717

Wvactive Form Widget

$
0
0
Error in wvactive form widget after installation
I have gone through wvactive and got help from http://www.yiiframework.com/extension/wvactiveform,
but one thing is missig there that after installation, I got error as follows:
Declaration of wvActiveForm::error() should be compatible with that of CActiveForm::error()

To fix this, I copied signature of CActiveForm into the wvActiveForm like below:
function error($model,$attribute,$htmlOptions=array(),$enableAjaxValidation=true,$enableClientValidation=true)
{
....
....
}
And after this It works fine, but I want to know, did I make a mistake somewhere?

Viewing all articles
Browse latest Browse all 18717

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>