Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-3687

Add HTML5 form validation to the user-interface for Calculated Objects question type

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 2.1, 2.2
    • None
    • MOODLE_21_STABLE, MOODLE_22_STABLE

      Initially for the student-interface...

      Attributes on the 'Answer' text <input> box:

      • required
      • pattern = "-?\d {1,3}

        (\.\d*)?"

      • title - hint = "I'm expecting a number"
      • native support in recent Firefox, Chrome, Safari and Opera,
      • it will degrade gracefully in older browsers,
      • it will be configurable, so that it can be disabled (just in case - I don't think you'll want to disable).

            nfreear Nick Freear (Inactive)
            nfreear Nick Freear (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:

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