Moodle

Add a save all grades button on the quiz editing page

Details

  • Type: Improvement Improvement
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 2.0
  • Fix Version/s: STABLE backlog
  • Component/s: Quiz
  • Labels:
    None
  • Difficulty:
    Moderate
  • Affected Branches:
    MOODLE_20_STABLE

Description

This was requested by a user in the Quiz UI redesign demo's forum at pilpi.net in Summer 2008, and I consider it a relatively important use case.

In fact, the edit page's grading fields could all be on the same form, so that actually any of the "Save" buttons would save all the grades. In addition there could then be a "Save all grades" button at the top of the UI, which would do the same.

The other option is to add this with javascript: the "Save all grades" button would call a javascript which would create a hidden form when clicked, gather all the grades from the individual questions' forms and then submit the form.

Issue Links

Activity

Hide
Olli Savolainen added a comment -

This is a non-urgent ticket, and I am not sure if my project is the correct parent for this.

Show
Olli Savolainen added a comment - This is a non-urgent ticket, and I am not sure if my project is the correct parent for this.
Hide
Tim Hunt added a comment -

Does no harm to leave it here for now. I think I favour the single form for the whole page approach - but that may not be possible with the other buttons.

Show
Tim Hunt added a comment - Does no harm to leave it here for now. I think I favour the single form for the whole page approach - but that may not be possible with the other buttons.
Hide
Tim Hunt added a comment -

I can't think of an easy way to do this, so changing it from a subtask to be a separate issue to deal with later.

Show
Tim Hunt added a comment - I can't think of an easy way to do this, so changing it from a subtask to be a separate issue to deal with later.
Hide
Olli Savolainen added a comment -

Ray mentioned that grades for questions are usually given in patch and I do see it problematic, having to load the page again between every save. I do not imagine it being hard at all to create a button javascript/YUI that gathers the values of all the fields and POST submits the values when clicked.

The other option would be to include all the pages in one big form, but that would mean saving all the grades when clicking any of the save buttons. I am not sure if this would do any harm, but the UI certainly does not communicate this.

Show
Olli Savolainen added a comment - Ray mentioned that grades for questions are usually given in patch and I do see it problematic, having to load the page again between every save. I do not imagine it being hard at all to create a button javascript/YUI that gathers the values of all the fields and POST submits the values when clicked. The other option would be to include all the pages in one big form, but that would mean saving all the grades when clicking any of the save buttons. I am not sure if this would do any harm, but the UI certainly does not communicate this.
Hide
Olli Savolainen added a comment -

(Ray: can't vote for this now since I reported it, but you can

Show
Olli Savolainen added a comment - (Ray: can't vote for this now since I reported it, but you can
Hide
Tim Hunt added a comment -

This is a worthwhile feature, but I won't have time to do it before 2.0, so updating the bug to reflect that.

Show
Tim Hunt added a comment - This is a worthwhile feature, but I won't have time to do it before 2.0, so updating the bug to reflect that.

People

Vote (11)
Watch (6)

Dates

  • Created:
    Updated: