summaryrefslogtreecommitdiff
path: root/Master/texmf-doc/doc/english/pdf-forms-tutorial-en/forms-src/fde0023.tex
blob: 8367a452a2e0469b577c4887bf46fbbaffc10ea8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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