Annotation of loncom/html/adm/help/tex/Authoring_Input_Tags.tex, revision 1.5
1.1 bowersj2 1: \label{Authoring_Input_Tags}
2:
3:
1.2 vandui11 4: This group of tags implements a mechanism for getting data for students.
5: They will usually be used by a response tag.
1.1 bowersj2 6:
7: \begin{itemize}
8: \item \textbf{textfield}\index{textfield}: Creates a large text input box.
9: If data appears between the start and end tags, the data will appear
10: in the textfield if the student has not yet made a submission. Additionally,
1.5 ! lira 11: it accepts two attributes: \textbf{rows} and \textbf{cols}, which control
1.1 bowersj2 12: the height and width of the text area respectively. It defaults to
13: 10 rows and 80 columns.
14: \item \textbf{\label{textline}textline}\index{textline}: Creates a single
15: line input element. It accepts one attribute \textbf{size} which controls
16: the width of the textline, defaulting to 20.
17: \end{itemize}
1.3 foxr 18:
1.4 raeburn 19: Both the \textbf{textfield} and \textbf{textline} input tags support a \textbf{spellcheck}
1.3 foxr 20: attribute. If present, the text the user types is spellchecked when focus leaves the input
1.4 raeburn 21: field. The value of this attribute specifies the language in which the spellcheck is performed.
1.5 ! lira 22: e.g. \texttt{$<$textfield spellcheck='en' /$>$} creates a text field that is spellchecked in
! 23: English while \texttt{$<$textline spellcheck='de' /$>$} creates a text line that is spellchecked
1.3 foxr 24: in German.
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>