Warning: Use of undefined constant hot - assumed 'hot' (this will throw an Error in a future version of PHP) in /data/wwwroot/lxy.me/wp-content/themes/Ality/inc/sticky-cat.php on line 5


关于Yii中CActiveForm的多种验证方式

关于Yii中CActiveForm的多种验证方式
$form=$this->beginWidget('CActiveForm', array( 'id'=>'contact-form', 'enableAjaxValidation'=>true, //是否启用ajax验证 'enableClientValidation'=>true, //是否启用客户端验证 'clientOptions' => array( 'validateOnSubmit'=>true, //提交时验证 'validateOnChange'=>true, //输入框值改变时验证 'vali...