joomla/joomla-cms — pull request #806 by piotrmocko (2013-03-15 15:59:14+00:00)
Title: Improvement and bugfix of validate-uncompressed.js

Below is description of my changes in order as they appear in the code.

1. Improvement: I have added event to validate radio and checkboxes like text field just after change. Now you have to submit form to validate those fields.

2. bugfix: I have put field type change into try-catch because it cause errors in IE8 and 7 on some site.
It is not a bug, but it will protect validator from other errors in 3-rd part extensions.

3. Improvement: I have made simpler usage of radio and checkboxes validation. So far it was too
complicated. Now it is still backward compatible.
I have also added validation of multiple select list. Such field you can create with core field type of list and without this fix it would not validate as required.

4. bugfix: Fix of usage Hash object in isValid method which is part of mootools-more which is not being loaded with validator since J!3.

Tracker: http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_id=8103&tracker_item_id=26114