Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-42529

Documentation and rules for form validations

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 2.4.6, 2.5.2, 2.6, 2.7, 3.4
    • Forms Library
    • MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE, MOODLE_27_STABLE, MOODLE_34_STABLE

      This has been created because MDL-42270 revealed various inaccuracies and misses in the moodleforms documentation and implementation.

      1) http://docs.moodle.org/dev/lib/formslib.php_Validation is missing completely about how to add built-in validation rules for groups.

      2) The documented strings suggested for use with addRule methods have been 100% ignored and, instead, other strings are being used. Decide.

      3) We should cover all the rules with some test, both server side (unit tests) and browser side (acceptance).

      That's all, let's manage the whole thing from here. Ciao

            Unassigned Unassigned
            stronk7 Eloy Lafuente (stronk7)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.