I have one dropdown list on my form
If I want to update an other field in the form (a dependant dropdown siteId for exemple), I use this code :
echo CHtml::dropDownList( 'groupeId', //cbxName
'', //selected value
CHtml::listData($dataGroupe,'id','nom'),
array( //data
'ajax' => array( 'type'=>'POST', //request type
'url'=>CController::createUrl('manage/cbxGroupeChange'),
'update'=>'#siteId',
),
'prompt'=>'Groupes',
),
array( )
);
But If I want to update both the siteId dropdown and another field, how to proceed
thanks

Help
This topic is locked













