http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6209

--- Comment #8 from Owen Leonard <[email protected]> ---
I'm still trying to make a decision on this, and at the moment I'm still on the
side of Jörn Zaefferer's Validation plugin if only because it's is under more
active development. Points also go to Zaefferer for creating the original tabs
plugin which was incorporated into jQueryUI.

However, I want to fully understand these concerns:

(In reply to comment #4)
> 
> but I don't like the way we have to declare
> "validation instructions" in HTML tags with Validation plugin: some of them
> can be declared in class attribute (which is designed for styling)

I don't think we should worry about "abusing" the class attribute. It's
perfectly reasonable to use the class attribute for semantically-meaningful
purposes. We use class selectors in many places in Koha jQuery scripts.

> others have to be declared in separate non-standard attributes (eg:
> minlength="2") (by the way, how do we declare "instructions" with more than
> 1 parameter? the documentation is not clear about this).

The Validation plugin lets you define multiple parameters if you're doing the
configuration in your JavaScript.

It sounds like Ketchup would give us the benefit of being able to define more
complex validation parameters directly in HTML tag attributes. Validation would
require that we do so in JavaScript. Does that get to the essence of the
difference?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to