[eluser]minerbog[/eluser]
Hi All, Didn't realise how many people use CI! How cool is that!!
Anyway's to my problem,
I am trying to validate a repopulate a multilined form using form field arrays. However I cannot get CI to do it for love nor money. Single form fields are a piece of cake!
Code:
function _form_validate
{
$this->form_validation->set_rules('description[]', 'Description', 'my_alpha_numeric');
$this->form_validation->set_rules('qty[]', 'Qty', 'my_alpha_numeric');
}
I'm using the above code to validate the fields and it seems to be working. But when I try
Code:
set_value('description[]');
as indicated by the user guide, it just returns a default value??
Please help guys.