search for: very_speci

Displaying 1 result from an estimated 1 matches for "very_speci".

Did you mean: very_special
2006 Aug 14
2
Plugins: Validation Reflection and Client-Side Validation
...e. And all they do is handle the different date formats. == Custom Checking If you need client-side validations that can''t be expressed with these means, you''ll have to write a validation function yourself. Again in application.js Object.extend(Form.Validator.Validators, { very_special: function(value) { // Leave the check if there actually is a value to the // validation function set up for :validates_presence_of. if (!this.value) { return true; } // Do the ckecking... return true; } }); Then, in a view where a text field (or whatever...