Changes

Jump to navigation Jump to search
141 bytes added ,  06:53, 6 October 2015
Acrobat JS Tutorial link; limit height of example field
* [http://www.adobe.com/devnet/acrobat/javascript.html JavaScript documentation at Adobe’s]
* [http://help.adobe.com/livedocs/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/wwhelp/wwhimpl/js/html/wwhelp.htm?href=JS_Dev_Tools.72.1.html&accessible=true JavaScript API Reference for Acrobat 9]
* [https://acrobatusers.com/tutorials/javascript_console Tutorial on JS in Acrobat 11]
== Examples ==
<context source=yes>
\setupfield[ShortLine][horizontal][width=2cm,height=2em]
\definefield [Email] [line] [ShortLine] [] [sample@contextgarden.net]
\field [Email] [your email]
=Tricks and Traps=
'''Beware''', in MkIV the JS code is only copied to the PDF if there is a \goto referencing one of the defined functions!JS code for default values doesn’t work.
(reported 2015-04-01, still true 2015-10-05)

Navigation menu