search for: installforallvalidatedforms

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

2006 Aug 14
2
Plugins: Validation Reflection and Client-Side Validation
...s Validation Reflection plugin. This plugin is only a tool, it leaves some work for you to do. The plugin happily handles the validation part, but it is your job to handle the notification. Let''s look at the simplest case first. In public/javascripts/application.js put: Form.Validator.installForAllValidatedForms(); This installs a validator for each form on the page which has the class "validated". If any of the form''s input elements are or become invalid, they are marked with the class "invalid". If you have something like this .invalid { border: 1px solid #f00; } so...