1) include the fancybox extesion otherwise fancybox js
1) include the fancybox extesion otherwise fancybox js
A time ago i've met the issue that Yii doesn't run any client-side form validation when submitting the form by CHtml::ajaxSubmitButton. The small javascript below helps to fix it.
This is a tutorial to work with radioButtonList which will handle enum datatype. Form design and validation both are detailed here.