summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/pdf-forms-tutorial-en/forms-src/fde0023.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/pdf-forms-tutorial-en/forms-src/fde0023.tex')
-rw-r--r--Master/texmf-dist/doc/latex/pdf-forms-tutorial-en/forms-src/fde0023.tex13
1 files changed, 13 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/pdf-forms-tutorial-en/forms-src/fde0023.tex b/Master/texmf-dist/doc/latex/pdf-forms-tutorial-en/forms-src/fde0023.tex
new file mode 100644
index 00000000000..8367a452a2e
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/pdf-forms-tutorial-en/forms-src/fde0023.tex
@@ -0,0 +1,13 @@
+Use
+\begin{lstlisting}
+this.getField("fieldname").userName = "Help text here";
+\end{lstlisting}
+to set up tooltip texts. The instruction should be run in the
+function executed automatically when the document is opened.
+
+Example ex0013 shows how to set up tooltip texts.
+
+If you use the ``inputenc'' package you have to use special
+notations in JavaScript code to express foreign characters
+(i.\,e. german umlauts), see~\vref{sec:fde0020}.
+\clearpage