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

Enhance the functionality of the 'Maximum attempts' setting in assignment

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • Future Dev
    • Assignment
    • 8
    • Team Alpha - Sprint 4 I1-2024, Team Alpha - Planning I2-2024, Team Alpha - Sprint 1 I2-2024, Team Alpha - Sprint 2 I2-2024

      This matter extends from the enhancements made to the assignment settings page in MDL-80741.

      This issue aims to improve the UI of the 'Maximum attempts' setting by transitioning it into a form group containing a numerical input field (restricted to values greater than or equal to 1) and a checkbox option.

      The numerical input enables users to define the number of allowed attempts, while the checkbox indicates whether Unlimited attempts are allowed. Validation of the numerical text input is necessary; if the entered value for the allowed number of attempts is less than 1 or empty, an inline error message should be displayed to the users. If unlimited attempts are allowed (checkbox is checked), the number of attempts text input should be disabled.

      Also, it is required to incorporate essential support in the core (mform js) to facilitate the new 'Maximum attempt' form group in managing the visibility of the 'Additional attempts' setting based on its value using a 'less than' comparison operator or when the Unlimited attempts option is checked.

      Prototype

            mathewmay Mathew May
            Geshoski Mihail Geshoski
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 weeks, 1 day, 5 hours, 28 minutes
                2w 1d 5h 28m

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