Enforce 4000 character limit on text comment length

Description

Need to limit the length of text comments from students to 4000 chars per comment field.

Ideally there would be a counter that showed the current number of characters for a given entry field that would decrement as the user entered data. Upon reaching the limit a message would appear requesting removal of some characters. Want to avoid truncating responses after a submission or losing student input after an eval has been submitted and rejected by the server.

Activity

Show:

Beth Kirschner March 23, 2012 at 7:38 AM

I'm unsure if this is still a problem in the 1.4 branch or trunk code – it was originally reported in the UM modified 1.2 branch. The preview_eval.html & take_eval.html in trunk both indicate that comments are limited to 4000 characters, but it's unclear if it's enforced.

Jim Eng October 31, 2011 at 6:27 AM

Raising priority. This needs to be evaluated. If this is still an issue, it needs to be addressed soon, rather than waiting for the next time it flares up. Otherwise, let's close the ticket.

Richard Ellis October 13, 2010 at 7:07 AM

There are certain special characters that count as 1 character in JavaScript but 2 characters in Java, so the JavaScript count needs to be checked in the Java code as well.

Details

Assignee

Reporter

Components

Affects versions

Priority

Created October 13, 2010 at 6:19 AM
Updated March 23, 2012 at 7:40 AM