I am new to yii, and I try to avoid using the default action indexAction() when the user submits the search form. I created a searchAction() to handle the search logic but i don’t know how to call it after the user clicks the submit button.
The first parameter of CHtml::beginForm is the form’s action. You need to pass the uri you want to post to as that, either as a static string or using the createUrl() functionality.