--- loncom/html/adm/help/tex/Authoring_NumericalResponse.tex 2016/11/29 20:35:08 1.3 +++ loncom/html/adm/help/tex/Authoring_NumericalResponse.tex 2017/01/23 20:29:42 1.4 @@ -1,4 +1,4 @@ -\label{Authoring_NumericalResponse} +\label{Authoring_NumericalResponse}\index{numericalresponse} \textbf{numericalresponse} implements a numerical answer, it needs an internal \textbf{textline} for the the response to go in. @@ -8,4 +8,7 @@ Possible attributes are: \item \textbf{answer}\index{answer}: required, specifies the correct answer, may be either a perl list or scalar \item \textbf{unit}\index{unit}: optional, specifies unit of correct answer, CAPA style +\item \textbf{incorrect}: Incorrect Answers. When switched into exam (``bubble sheet'') mode, LON-CAPA usually create wrong answers automatically. To specify wrong answers yourself, you need to provide an array of incorrect values in this attribute. You need to provide at least as many incorrects as 1 less than the number of bubbles on the exam. You can provide more if you want to. +\item \textbf{format}: string to format the number displayed as the answer +\item \textbf{preprocess}: pre-process Perl subroutine \end{itemize}