Drupal Validations
While working with Drupal custom modules, I found myself coding forms using the great Forms API. But there's one thing missing there: a simple means of validating user data.
So I coded this simple yet powerful Validations module, which extends the default Forms API to add server-side often needed validations (client-side soon to come!). The idea is to define validations as an array and the module will take care of the code. When client-side validations are coded to use JavaScript, the very same array will be used for this, meaning programmers will just need to take care of defining a validations array to get both client and server side validations in place.
I contributed this piece of code to Drupal repository as Open Source, so feel free to go to the module project's page and download the code, make any suggestion or just use it.


