i dont know if this is a bug or i just happen to have a wrong code. I have this on my code
$crud->set_relation('serialNo','printers'.'serialno');
$crud->set_relation('refNo','fsr','srno',array('status'=>'pending','status'=>'New','status'='Schedule'));
$crud->set_rules('serialNo','Serial No','required')
->set_rules('refNo','Reference','requied');
1. the set_relation will only show rows whose status = 'Schedule' but will not consider the first 2. is there a way to make it show status = pending or new or schedule.
2. on my add section even if I did not choose on the dropdown it will still save the entry it will disregard the rules validation.