\label{Authoring_FormulaResponse}\index{formularesponse}
\textbf{formularesponse} asks the student to type in a formula as an answer.
It needs an internal \textbf{textline} for the the response to go in.
The answer can be specified with the \textbf{answer} attribute or with an \textbf{answergroup}.
Possible attributes are:
\begin{itemize}
\item \textbf{answer}\index{answer}: specifies the correct answer.
It can use variables calculated/defined in the problem's Perl script block,
allowing the answer to be determined dynamically.
\item \textbf{samples}\index{samples}: optional, sample points. See \ref{Formula_Response_Sampling}.
\item \textbf{preprocess}: optional, pre-process Perl subroutine
\end{itemize}
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>