hi, I have this in the form to resubmit the form when the combo changes.
<?php echo $form->dropDownList($pago, ‘alumno’,
GxHtml::listDataEx(Alumno::model()->findAllAttributes(null, true, $crit)),
array(
//'onChange' => 'submit',
'submit'=>'#',
'prompt' => Yii::t('app', 'Seleccione un Alumno'),
)); ?>
How can I be aware in the controller that is a re-submition?
If a resubmit occurs I have to clean some variables and do some stuff in the controller.
(like show another records in a grid, initalize counters, etc)
Best Regards
Solved:
I didn’t read clientChange, and now I added “params” parameter.