If you need to validate the edited document with a validation engine that is different from the built-in engine, you can configure external validators in the Custom Validation Engines preferences page.After a custom validation engine is properly configured, it can be applied on the current document by selecting it from the list of custom validation engines in the toolbar drop-down menu.You can download the sample application from the Resources section.The sample application uses Web Work 2.2 Beta 3, which comes packaged with XWork 1.0.5.When using Validators and the ORM together, additional providers are configured for the table and entity objects.This method sets up event handlers for submit, focus, keyup, blur and click to trigger validation of the entire form or individual elements.The When fields have multiple rules, each validation rule will be run even if the previous one has failed.This allows you to collect as many validation errors as you can in a single pass.
Its powerful validation framework is borrowed from another Open Symphony project, XWork.
The document is validated against the schema declared in the document.
Validator objects define the rules that apply to a set of fields.
Each one can be disabled, see the onxxx options (onsubmit, onfocusout, onkeyup, onclick).
focus Invalid focuses elements when submitting an invalid form.