Articles tagged with "validation"
MultivalidatableBehavior: Using many validation rulesets per model
In this article I present the MultivalidatableBehavior, which allow us to have multiple sets of validation rules for each model.
[Read more] Automagic JavaScript Validation Helper
This helper takes your model validation rules and converts them to JavaScript so they can be applied in the client's browser before submitting to the server.
[Read more] PersistentValidation - keeping your validation data after redirects
I decided to wrap this functionality in a component because when you have several forms in a view and each one relates to a different controller it's much easier to point the form to it's controller respective action and redirect back to the originating view.
[Read more] Quick fix for HABTM Validation
I was looking for a simple solution for HABTM validation, and struggled to find one that didn't required me to write a lot of code.
i came up with this, hopefully it will help someone.
This is my first post here, so i guess someone will rewrite my code to be much better.
[Read more] i came up with this, hopefully it will help someone.
This is my first post here, so i guess someone will rewrite my code to be much better.
Validati18n Behavior
This Behavior will add country based validation rules to your model. The inspiration for the behavior came from the 1.3-to-do-list that refers to several pending tickets to include more regexes into core's Validation Class. This class already has a few rules with regexes for some countries, although i'm not sure if an endless list with regexes in the Validation class is that desirable. By writing this article i also am completing the missing step of the 12-step-program of Teknoid
[Read more]
Latest Comments