scenario doesn't works in yii1.0.3

Hi everyone,

i have one activedropdownlist(holidaytype) and an activetextfield(newholidaytype) in my view form.

my model have to validate only activetextfield for save button

but dropdownlist and activetextfield must be validated for modify,delete

sources are

public function rules()

{

return array(

array('holidaytype', 'required','message'=>'You forgot to select Holiday Type.'),

            array('newholidaytype', 'required','message'=>'You forgot to fill New Holiday Type.'),

array('newholidaytype', 'required','on'=>'save','message'=>'You forgot to fill New Holiday Type.'),);

}

controller

$form=new AddForm;

if(isset($_POST['save']))

{

if($form->validate('save'))  // is it correct

{

//operations

}

}

but it displays dropdown (holidaytype) message also

how i have to do it

please help me

Please upgrade to 1.0.6 first.

i downloaded yii1.0.6 and installed as like follows in my ubundu

php /var/www/yii1.0.6/framework/yiic webapp /var/www/test

still my old program doen't run good