Annotation of loncom/html/adm/help/tex/Authoring_StringResponse.tex, revision 1.2
1.1 damieng 1: \label{Authoring_StringResponse}\index{stringresponse}
2:
3: \textbf{stringresponse} queries for a string without any initial constraint.
4:
5: Possible attributes are:
6: \begin{itemize}
7: \item \textbf{answer}: the correct answer, either a perl list or scalar
1.2 ! damieng 8: \item \textbf{type}: specifies how the string is checked (like the CAPA styles).
! 9: Possible values are:
1.1 damieng 10: \begin{description}
11: \item[cs]: case sensitive, order important
12: \item[ci]: case insensitive, order important
13: \item[mc]: case insensitive, order unimportant
14: \item[re]: regular expression
15: \end{description}
16: \item \textbf{answerdisplay}: string to display for answer
1.2 ! damieng 17: \item \textbf{preprocess}: optional, pre-process Perl subroutine
1.1 damieng 18: \end{itemize}
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>