<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Nov 15, 2013 at 1:05 PM, Susan Dittmar <span dir="ltr"><<a href="mailto:Susan.Dittmar@gmx.de" target="_blank">Susan.Dittmar@gmx.de</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi folks,<br>
<br>
after days of searching the 'net and trying to wrap my mind around the problem, I come to you in hope one of you might have a good idea for me.<br>
<br>
I would like to generate a PDF document with textfields that can be filled in by the user (that part works). What I don't know how to archive is that I want the user-supplied contents to be displayed at several places thoughout the document, preferably without further user action. And to ease writing, I want those repetitions provided by a macro.<br>


<br>
I certainly don't have a _working_ minimal example, but I hacked together my rough ideas in case someone wants a starting point for development. But please don't feel restricted by its form or choice of packages! I might well have run into a mental cul-de-sac.<br>


<br></blockquote><div><br></div><div>Something like this?</div><div><br></div><div><br></div><div><div>\documentclass[12pt]{article}</div><div>\pagestyle{empty}<br></div><div>\parindent=0pt</div><div>\usepackage{blindtext}</div>
<div>\usepackage{hyperref}</div><div>\begin{document}</div><div>\begin{Form}</div><div>\mbox{\TextField[maxlen=100,align=0,height=15pt,width=150pt,name=s3]{Please enter your name}}</div><div>\end{Form}</div><div><br></div>
<div>\bigskip</div><div>\blindtext[1]<br></div><div>\begin{Form}</div><div><br></div><div>\hfill  Sincerely yours\ {\TextField[maxlen=100,align=0,height=12pt,width=150pt,name=s3]{}}</div><div><br></div><div>\end{Form}</div>
<div><br></div><div>\end{document}<br></div></div></div>
</div></div>