Chtml::textfield Doesn't Get String, Just Gets Number

Hello !

I have following code:

echo CHtml::beginForm(); 

						echo CHtml::textField('driver_available_since','', array('size'=>100,'maxlength'=>50), array('class'=>'special-textfield'));    					

						echo CHtml::hiddenField('id', ''.$driverArrayId1[$j]);

            			echo " ";

            			echo CHtml::ajaxSubmitButton (





		                    	'name' => CHtml::encode('button'.$driverArrayId1[$j]),



						echo CHtml::endForm(); 

I don’t know why when I enter number in the textField thing is ok, but when entering text, the text doesn’t pass to controller action.

Any suggestion would be appreciated.

You should probably post the code from your controller.