[eluser]blackwolf[/eluser]
Hi, I'm new in community sorry for my bad english I'm italian,
I hope to make you understand the problem
I have a problem with codeigniter form validation, I'm using version 1.6
I have some form fields with name and id such as 'fields[foo]', 'fields[bar]' etc..
If I set validation rules in my controller as the following code:
Code:
<?php
$rules['fields[foo]'] = 'required';
$rules['fields[bar]'] = 'required';
$this->validation->set_rules($rules);
?>
when I submit the form, validation errors appear even though I entered some values in the fields
What would I change in the code if I wrong?
Thanks