version 1.3, 2007/08/07 22:46:54
|
version 1.4, 2017/01/23 20:29:42
|
Line 1
|
Line 1
|
\label{Authoring_RadiobuttonResponse} |
\label{Authoring_RadiobuttonResponse}\index{radiobuttonresponse} |
|
|
\textbf{radiobuttonresponse} implements a true/false question with |
\textbf{radiobuttonresponse} implements a true/false question with |
one correct answer. It uses the foil structure tags as described in |
one correct answer. It uses the foil structure tags as described in |
\ref{Authoring_Foil_Structure_Tags}, but the \emph{value} of a foil can only |
\ref{Authoring_Foil_Structure_Tags}, but the \emph{value} of a foil can only |
be \textbf{true}, \textbf{false}, or \textbf{unused}. |
be \textbf{true}, \textbf{false}, or \textbf{unused}. |
|
It is possible to use a Perl variable for the value attribute, as long as it can only have a valid value. |
|
|
|
Several true foils can be specified, but only one (randomly chosen) will be displayed. |
|
|
|
Possible attributes for \texttt{<radiobuttonresponse>} are: |
|
\begin{itemize} |
|
\item \textbf{max}: the maximum number of foils displayed at once |
|
(if more are specified, some will not be displayed) |
|
\item \textbf{randomize}: set to \texttt{yes} to randomize the order of foils when displayed |
|
\item \textbf{direction}: set to \texttt{horizontal} to display foils horizontally |
|
\end{itemize} |