File:  [LON-CAPA] / loncom / html / adm / help / tex / Authoring_RadiobuttonResponse.tex
Revision 1.4: download - view: text, annotated - select for diffs
Mon Jan 23 20:29:42 2017 UTC (7 years, 6 months ago) by damieng
Branches: MAIN
CVS tags: HEAD
doc improved for editors, responses, index

\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{<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}

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>