Hi I am new to Yii
I have a from with
?php echo CHtml::radioButtonList(‘Program’, 1, array(‘0’ =>“BUS” , ‘1’ =>“RES”),
array('title' => "Please contact your manager to find out the difference",
'refresh'=>'Disable',
'onclick' => "SaleTypeChanged();"))?>
depending up on the values from ‘Program’ function SaleTypeChanged(obj) has hide and show files in form it self.
Once I hit form Create I have custom Validation function to display errors and different validation on form field witch is working well . But it rest the selected values of radioButtonList to default .
How should I over come this
Thanks in Advance