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

[formslib] Handling invalid date input in quiz respond incorrectly

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 1.8, 1.8.1, 1.8.2, 1.8.3, 1.8.4, 1.8.5, 1.8.6, 1.8.7, 1.8.8, 1.8.9, 1.9, 1.9.1, 1.9.2, 1.9.3, 1.9.4, 1.9.5
    • Course, Forms Library, Quiz
    • None
    • Any
    • MOODLE_18_STABLE, MOODLE_19_STABLE

      This seems to be related to formslib, see detailed discussion at here:
      http://moodle.org/mod/forum/discuss.php?d=69707

      Basically if you enter the dates wrong, Moodle 1.8+ will just take it and convert it into some other dates without give the user any warning. Tim suggested that maybe some sort of javascript date selector widget from YUI (http://developer.yahoo.com/yui/calendar/) probably could fix it but not sure whether the codes would be really accessible. If someone could help fixing this that would be great, thanks!

        1. auto_change_to_vaild_date.jpg
          4 kB
          Wen Hao Chuang
        2. input_invaild_date.jpg
          37 kB
          Wen Hao Chuang

            jamiesensei Jamie Pratt (Inactive)
            chuang Wen Hao Chuang
            Nobody Nobody (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

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