You can clone with
HTTPS or Subversion.
Bug and patch initially described here:
Consider an input field
and validation rules
$this->form_validation->set_rules('email', 'email', 'valid_email');
If the form is submitted with a blank email field, it will validate correctly (no errors).
Now consider using POST array syntax, pretty common scenario
and the same validation rule
$this->form_validation->set_rules('user[email]', 'email', 'valid_email');
Now if the form is submitted with a blank email field, it is invalid. It displays the error "The email field must contain a valid email address."
Clearly, I didn't state this field was also required.
Simple one-line fix, provided on the link above. I have committed this to my fork here if you would like to pull it:
This one got me into trouble today! Is fix coming?
Fixed issue #113 - Input fields are automatically required
This has a pull request, so closing.
It's been a long time and that pull request hasn't been merged yet, so ... reopening as a reminder.
Added ability to query users by group id(s) - Resolves Issue #113