I wanted to mention that I added a new Form Validation library to our SVN repository. We plan to make it available in the next version of CI, but since this is a fairly substantial rewrite I thought it would be good to let people kick the tires before officially releasing it.
Among the new features:
- Simplified syntax. The old version required users to set rules in one step, and set field names in another. These two steps have been combined into one.
- Array support. The new class allows arrays to be used as field names. It supports multidimensional arrays as deep as you need. For example, you could call a field: options[colors][websafe]
- Support for storing your rules in a config file so you can manage your rules in one place. You can even organize your rules into groups of rules. These rules can be loaded as needed, and even assigned to specific controllers/functions and loaded automatically.
- Added several helper functions so that your view files no longer need to use the validation object.
If you decide to try the new library, please download the entire CI application from SVN (including the user guide), since a number of files have changes to support the new library.