Am 2017-03-14 um 18:22 schrieb Henning Hraban Ramm
Am 2017-03-14 um 18:05 schrieb Pablo Rodriguez
: Dear list,
I have the following sample:
\usemodule[fields] \starttext This is a \fillinfield[name]{text that defines field length}. \stoptext
I’m afraid that Adobe Reader XI (in Windows 10) isn’t able to keep the text in the field after the pointer moves outside the field.
Could anyone confirm the bug or explain me what I’m doing wrong?
Your example is missing \setupinteraction[state=start], but I can confirm the problem with latest beta and Acrobat Pro 9 on OSX.
The problem is that the field is setup with a validation script 'CheckFillInField("name")', and that doesn’t exist. I also don’t know why the text is red.
I was wrong. The validation script is stored as document level script, because it’s within JSpreamble. And it sets the value to "", regardless of the content. See http://source.contextgarden.net/tex/context/modules/mkiv/m-fields.mkiv?searc... Better don’t use this module, it’s just an example. If you need exactly this functionality, copy the code. Greetlings, Hraban --- http://www.fiee.net http://wiki.contextgarden.net GPG Key ID 1C9B22FD