diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/pdf-forms-tutorial-en/forms-src/fde0018.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/pdf-forms-tutorial-en/forms-src/fde0018.tex | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/pdf-forms-tutorial-en/forms-src/fde0018.tex b/Master/texmf-dist/doc/latex/pdf-forms-tutorial-en/forms-src/fde0018.tex new file mode 100644 index 00000000000..4ed4ae6580a --- /dev/null +++ b/Master/texmf-dist/doc/latex/pdf-forms-tutorial-en/forms-src/fde0018.tex @@ -0,0 +1,17 @@ +This form is not intended to be printed, so we can use a non-white +background. The paper size is set to +\(5.2057\,\textrm{inches}\,\times\,3.75\,\textrm{inches}\) + +The arcument +\begin{lstlisting} +onclick={doCalculation()} +\end{lstlisting} +to the ``Start'' button specifies the function to invoke when +the button is pressed.\\ +\emph{Note:\/} The function is specified without semicolon here. + +The \textit{doCalculation()\/} function retrieves the input +values and runs the calculation. +The result is rounded to cents and printed in a text field. + +\lstinputlisting{../examples/ex0201.tex} |