How To Change Text Field To Radiobutton List And Filter For Null Values

I’m using the text field in advanced search. Now, I need to convert the text field ‘Reviewed Date’ into 2 radio buttons ‘Reviewed’ and ‘Not reviewed’. Reviewed button should present all the rows with ReviwedDate not null and Reviewed with null values. I’m using the _search.php for this.


If you are using CActiveForm in _search.php like the below

<?php $form=$this->beginWidget('CActiveForm', array(



)); ?>

then you can use


For more information check this link