This question is related to Generating unique names in textfield
I cannot use the solution given in the above question because I use hyperref
for generating my pdf form.
In my document I have many tables and I would like to create a pdf form in them. The name of textfields are unimportant, the user should be just able to fill them.
The problem is that when the user tries to fill one of the textfields in a pdf viewe, other fields are filled too.
If I use \TextField{}
instead of \TextField{\ }
, the textfields do not appear when I open the pdf file in Acrobat reader.
\documentclass{article}
\usepackage{hyperref}
\begin{document}
\begin{Form}
\begin{tabular}{llll}
A & B & C & D \\
\TextField{\ } & \TextField{\ } & \TextField{\ } & \TextField{\ }\\
\TextField{\ } & \TextField{\ } & \TextField{\ } & \TextField{\ } \\
\TextField{\ } & \TextField{\ } & \TextField{\ } & \TextField{\ }
\end{tabular}
\end{Form}
\end{document}