beginWidget('CActiveForm', array(
'id'=>'assignment-form',
'enableAjaxValidation'=>false,
));
?>
Fields with * are required.
errorSummary($model); ?>
labelEx($model,'BehavType'); ?>
dropDownList($model,'BehavType', array((Yii::app()->params['bType']), '', ''), array('empty'=>'Select Behavior Type'), array('onchange'=>'AjaxFunction(this.value,1)'));?>
error($model,'BehavType'); ?>
labelEx($model,'behavGroupID'); ?>
dropDownList($model,'behavGroupID', CHtml::listData(Behaviorgroup::model()->findAll(), 'ID', 'E_BGName'), array('empty'=>'Select Behavior Group'), array('onchange'=>'AjaxFunction(this.value,2)'));?>
error($model,'behavGroupID'); ?>
labelEx($model,'behavID'); ?>
dropDownList($model,'behavID', CHtml::listData(Behavior::model()->findAll(), 'ID', 'E_Name'), array('empty'=>'Select Behavior'));?>
error($model,'behavID'); ?>
isNewRecord ? 'Create' : 'Save'); ?>
endWidget(); ?>