Multipe Forms To Multiple Actions/views

Hi All.

Is there a way where I can have mutlipe forms on a page where each submit will call a different action in the same controller eg

view review

form review calls review/review

form submit calls review/submit

form view calls review/view

end view

can this be done?

Yes, just specify the route in the beginForm() call.

<?= CHtml::beginForm('/review/review'); ?>


<?= CHtml::endForm(); ?>

<?= CHtml::beginForm('/review/submit'); ?>


<?= CHtml::endForm(); ?>

Thanks this will help me alot