I am creating a Checkbox list using CActiveCheckboxList from CFormModel.
Because the data returned by checkboxlist is in Array what validation rules should I use?
Actually I don’t need any validation I just want the checkbox remain selected after page refresh. But this thing does not happens until you define any validation rule under rules method.