Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
3.6
-
None
-
MOODLE_36_STABLE
-
Moderate
Description
As part of the library upgrade in MDL-63070, I've been looking at the vanilla quickforms rule support (yes, I know this is very dated). On comparing this to the support which our MoodleQuickForm wrapper provides, it's clear we've either lost, or were always missing the client-side validation for group rules. In fact, there are some rules supported by the vanilla library which I don't think we ever supported properly, despite advocating the use of the rule APIs in our docs. Additionally, the testing of various form configurations is lacking in Moodle, meaning that other bugs (like MDL-57684) have been introduced over the years, further reducing our level of support.
This issue will aim to address these shortcomings in validation, and should also try to provide a generic forms behat test, validating all configurations of single and group client-side rules that Moodle needs to support.
Attachments
Issue Links
- Discovered while testing
-
MDL-63070 QuickForms library upgrade
-
- Closed
-
- has been marked as being related by
-
MDL-57684 Client side mform validation ignored in the Boost theme
-
- Open
-
-
MDL-42529 Documentation and rules for form validations
-
- Open
-
- is blocked by
-
MDL-62550 Bring back unique id on form row wrapper div
-
- Closed
-