--- loncom/html/adm/help/tex/Custom_Response_Problem_Creation.tex 2013/07/05 18:30:40 1.2
+++ loncom/html/adm/help/tex/Custom_Response_Problem_Creation.tex 2016/08/20 17:48:11 1.6
@@ -5,7 +5,7 @@ generally discouraged, since the respons
For a single textfield, the student's answer will be in a variable \$submission. If the Custom Response has multiple textfields, the answers will be in an array
reference, and can be accessed as \$\$submission[0], \$\$submission[1], etc.
-The student answer needs to be evaluated by Perl code inside the \texttt{\textless answer\textgreater}-tag. Custom Response needs to include an algorithm that determines and returns a standard LON-CAPA response. The most common LON-CAPA responses are:
+The student answer needs to be evaluated by Perl code inside the \texttt{$<$ answer$>$}-tag. Custom Response needs to include an algorithm that determines and returns a standard LON-CAPA response. The most common LON-CAPA responses are:
\begin{itemize}
\item EXACT\_ANS: return if solved exactly correctly
\item APPROX\_ANS: return if solved approximately
@@ -15,7 +15,7 @@ e.g. return(ASSIGNED\_SCORE,0.3);)
\item SIG\_FAIL, NO\_UNIT, EXTRA\_ANSWER, MISSING\_ANSWER, BAD\_FORMULA,
WANTED\_NUMERIC, WRONG\_FORMAT: return if not correct for different reasons, does not use up a try
\end{itemize}
-The \texttt{answerdisplay} is shown instead of the student response in 'show answer' mode after the answer date.
+The \texttt{answerdisplay} is shown instead of the student response in `show answer' mode after the answer date.
The following example illustrates this:
\begin{verbatim}
@@ -63,5 +63,6 @@ Full list of possible return codes:
\item ASSIGNED\_SCORE: partial credit; the customresponse needs to return the award followed by the partial credit factor
\item TOO\_LONG: answer submission was deemed too long
\item INVALID\_FILETYPE: student tried to upload a file that was of an extension that was not specifically allowed
+\item EXCESS\_FILESIZE: student uploaded file(s) with a combined size that exceeded the amount allowed
\item COMMA\_FAIL: answer requires the use of comma grouping and it wasn't provided or was incorrect
\end{itemize}