summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/pdf-forms-tutorial-en/forms-src/fde0006.tex
blob: 656017175d1df2302d2e09d78deebd82077323f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
The ex0001.tex file shows a first attempt to create the form.
\lstinputlisting{../examples/ex0001.tex}
After running
\begin{lstlisting}
pdflatex ex0001 && pdflatex ex0001
\end{lstlisting}
we can open ex0001.pdf in the \textsc{pdf} viewer.\\
The form does not look good but contains the required functionality.

The source shows:
\begin{itemize}
\item	A unique name (identifier) is assigned to each form element
	using the \textit{name\/} parameter.
\item	The last argument of the \textit{\textbackslash{}ChoiceMenu[]\{\}\{\}}
	macro is a list containing the available choices. Each list
	entry contains the full text to show and an abbreviation, separated
	by ``=''.
\end{itemize}