Is there any way to put an automatic label into the hyperref package's \TextField parameters field like this:
\newcounter{lexemeCounter}
\newcommand\lexemeCount{\stepcounter{lexeme}\lexemeCounterrabic{lexemeCounter}}
\newcommand{\formlabel}{\value{lexemeCounter}}
\TextField[name=\formlabel]{}
The reason I need to do this is because I have a table with about 1000 entries and I would like to add an editable comment column.
A minimal example would look like this (Although this is a minimal example, I purposely chose to use the longtabu environment, because that is the real-world scenario):
\documentclass{scrartcl}
\usepackage{fontspec} %I only use xelatex
\usepackage{tabu}
\usepackage{longtable}
\usepackage{hyperref}
\newcounter{lexemeCounter}
\newcommand\lexemeCount{\stepcounter{lexemeCounter}\arabic{lexemeCounter}}
\newcommand{\formlabel}{\value{lexemeCounter}}
\begin{document}
\begin{longtabu} to \textwidth{|[1pt black] X[.10,l] | X[.20,l] || X[.20,l] | X|[1pt black]}
Row & English & German & Comments\\
\hline
\lexemeCount & apple & Apfel & \TextField[name=\formlabel]{}\\
\lexemeCount & mouse & Maus & \TextField[name=\formlabel]{}
\end{longtabu}
\end{document}
All of my attempts have failed. For some reason, the name=\formlabel stays literal (or does not increment) and therefore all edits are applied to each \TextField

\def\TF{\expandafter\csname TextField\endcsname[name=\formlabel}? – Eddy_Em Jun 18 '13 at 05:02