jquery is so easy to setup by itself, I never understood, why leave it to
mr, which, intrinsically, creates far more code than necessary.
give your form a class="validated" and your inputs classes like "required
email date numbers..."
and in your layout, or even better your global js file put something like
this:
$("form.validated").validate();
(after a reference to jquery.validate.js)
that would be it.
jan
2009/9/18 Adam Belshaw <[email protected]>
> Is anybody using jquery for the validation via the MonoRail JQueryValidator
> extension etc? Can you get it to validate when leaving a field like the
> prototype integration does rather than waiting for the form to be submitted?
> I reckon it makes a big difference to how usable the form is.
>
> Cheers,
>
> Adam.
>
> >
>
--
Jan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Castle Project Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/castle-project-users?hl=en
-~----------~----~----~----~------~----~------~--~---