[eluser]xpix[/eluser]
HI,
I created a multi select dropdown menu and used
Code:
$this->form_validation->set_rules('programs[]', 'Programs', 'trim|required|xss_clean');
for validation.
The problem is that if nothing is selected the browser doesn't send a value via POST.
It seems that CI's validation rule does not work if a POST value is not found.
Am I correct?
Thx