summaryrefslogtreecommitdiff
path: root/Master/texmf-doc/doc/english/pdf-forms-tutorial-en/forms-src/fde0002.tex
blob: 2873057b5a44713676124277c9f71ecef2d31951 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
The hyperref package provides environments and macros to
create forms. The form elements must be placed in a
\texttt{Form} environment, \texttt{Form} environments are
limited to one \texttt{Form} environment per document.
The following macros can be used to create form elements:
\begin{itemize}
\item	\texttt{\textbackslash{}TextField[}\textit{Parameter}\texttt{]}\texttt{\{}\textit{Text}\texttt{\}}\\
creates a text field.
\item	\texttt{\textbackslash{}CheckBox[}\textit{Parameter}\texttt{]}\texttt{\{}\textit{Text}\texttt{\}}\\
creates a check box.
\item	\texttt{\textbackslash{}ChoiceMenu[}\textit{Parameter}\texttt{]}\texttt{\{}\textit{Text}\texttt{\}\{}\textit{Auswahl-Optionen}\texttt{\}}\\
creates a choice list.
\item	\texttt{\textbackslash{}PushButton[}\textit{Parameter}\texttt{]}\texttt{\{}\textit{Text}\texttt{\}}\\
creates a button.
\item	\texttt{\textbackslash{}Submit[}\textit{Parameter}\texttt{]}\texttt{\{}\textit{Text}\texttt{\}}\\
creates a Submit-Button. Pushing the button sends form data to
the \textsc{url} specified as action-parameter in the
\texttt{Form} environment.
\item	\texttt{\textbackslash{}Reset[}\textit{Parameter}\texttt{]}\texttt{\{}\textit{Text}\texttt{\}}\\
creates a Reset-button.
\end{itemize}
The hyperref documentation \cite{hyperref:manual} provides a more
detailed description of the \texttt{Form} environment and the
macros above.