h3rm
1
Hi… 
i tried to use single textfield:
<?php echo CHtml::textField('txtsearch',''); ?>
but the textbox itself can not be clicked (disable automatically).
and this html generated:
<input type="text" value="" name="txtsearch" id="txtsearch" />
h3rm
2
this my completed code:
<div style="margin-top:10px">
<?php $form=$this->beginWidget('CActiveForm', array(
'id'=>'form-search',
'enableClientValidation'=>true,
'enableAjaxValidation'=>true,
)); ?>
Search:
<?php echo CHtml::dropDownList('cboCat','x',array('a'=>'Computer & Accessories','b'=>'Fashion')); ?>
<?php echo CHtml::textField('txtsearch',''); ?>
<?php echo CHtml::button('Go'); ?>
<?php $this->endWidget(); ?>
</div>
h3rm
3
solved. the problem in other html tag.