这是我的看法:
<td><?php echo $form->labelEx($model,'Is Scholarship?'). $model->is_scholar;?></td>
<td><?php echo Chtml::radioButton($model->is_scholar,'',array('separator'=>'<br/>','class'=>'e'.$arrMF[8],'disabled'=>$isVerify,'id'=>'scholaryes','value'=>'Yes','onclick'=>'$("#scholar").show();$("#scholarno").removeAttr("checked");'));?>Yes<br/>
<?php echo Chtml::radioButton($model->is_scholar,'',array('separator'=>'<br/>','class'=>'e'.$arrMF[8],'disabled'=>$isVerify,'id'=>'scholarno','value'=>'No','onclick'=>'$("#scholar").hide();$("#scholaryes").removeAttr("checked");'));?>No</td>
<td><?php echo $form->error($model,'is_scholar');?></td>
如果我选择两者中的任何一个,它将被输入数据库并保存为默认值。我就是做不到。我怎样才能?