Prevent Students from Submitting No File(s) or Text in Assignment File Submissions

It is currently possible for students to not attach any files or enter any text into the text field as part of a file submission in an assignment.  While the system warns the student (although only to make sure the student really wishes to submit the assignment), it does not kick back and force them to attach something or enter text in the "Online Submission Text" field.

It doesn't make any sense to me why the system would allow this.

As such we would like to see the following changes:

  1. Have a message appear before the current "Are you sure that this is ready to be submitted" file submission warning message that informs and prevents students from submitting the assignment when no attachments are added or the "Online Submission Text" field is empty.
  2. If one or more files are attached, add a slightly altered custom message to what is currently presented to students.  This would only be triggered when a teacher permits more than 1 file submission and the student has attached fewer than the allowed amount, or when a teacher has 1 file allowed, no file is attached, but text is entered in the Online Submission Text field.  Desired message:
    1. "You have attached X files as part of the assignment, but your teacher has allowed a maximum of Y files.  Are you sure that you are ready to submit this assignment?"
  3. Only when the number of files attached matches the allowed number by the teacher present the current message of "Are you sure that this is ready to be submitted?"

Personally, I would also like to change the current file submission warning message wording for students to: "Are you sure that you are ready to submit this assignment?"

  • Alex Orlebeke
  • Oct 29 2018
  • Implemented
  • Attach files
  • Leslie Arakaki commented
    October 06, 2020 01:13

    I would also want the submitted text field to check if there is white space or a return in there too - to avoid students putting something in there, but it doesn't appear that there is anything in there..