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

Qtype_essay: Adding file-size limit to the attachment files

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.8.4, 3.9.1, 3.10
    • 3.10
    • Questions
    • MOODLE_310_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE
    • MOODLE_310_STABLE
    • Hide
      1. Create a course
      2. Go to Question bank
      3. Create a question category
      4. Create an essay question type
      5. Do the generic question setting (Question name, Question text, ...)
      6. Under Response options, for Allow attachments select a number, and for Maximum file size select a size (10KB, 50KB, ...)
      7. Press Save and continue editing button and then preview the question.
      8. On preview page under the response box you will see the filepicker's message about Maximum file size: e.g. 10MB, maximum number of files: e.g. 2. For instance if you have selected 2 for Allow attachment and 10MB for Maximum file size; the file picker message would be: Maximum file size: 10MB, maximum number of files: 2
      9. When trying to upload a file exceeding the maximum chosen file size, you will obviously get a popup alert.
      Show
      Create a course Go to Question bank Create a question category Create an essay question type Do the generic question setting (Question name, Question text, ...) Under Response options, for Allow attachments select a number, and for Maximum file size select a size (10KB, 50KB, ...) Press Save and continue editing button and then preview the question. On preview page under the response box you will see the filepicker's message about Maximum file size: e.g. 10MB , maximum number of files: e.g. 2 . For instance if you have selected 2 for Allow attachment and 10MB for Maximum file size; the file picker message would be: Maximum file size: 10MB, maximum number of files: 2 When trying to upload a file exceeding the maximum chosen file size, you will obviously get a popup alert.

    Description

      Adding a select menu to the essay question type form to allow question authors choosing the maximum file size (maxbytes) from the dropdown menu while creating or editing an essay question.

      When questions are attempted, users can see the Mximum file size and the number of attachments they are allowed to upload.

      Attachments

        Issue Links

          Activity

            People

              mkassaei Mahmoud Kassaei
              mkassaei Mahmoud Kassaei
              Tim Hunt Tim Hunt
              Adrian Greeve Adrian Greeve
              Janelle Barcega Janelle Barcega
              Safat Shahin, Tim Hunt, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                9/Nov/20

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours
                  2h