--- loncom/html/adm/help/tex/Authoring_RadiobuttonResponse.tex 2007/08/07 22:46:54 1.3 +++ loncom/html/adm/help/tex/Authoring_RadiobuttonResponse.tex 2017/01/23 20:29:42 1.4 @@ -1,7 +1,17 @@ -\label{Authoring_RadiobuttonResponse} +\label{Authoring_RadiobuttonResponse}\index{radiobuttonresponse} \textbf{radiobuttonresponse} implements a true/false question with 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 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{} 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}