fdf_add_doc_javascript Adds javascript code to the FDF document Description boolfdf_add_doc_javascript resourcefdfdoc stringscript_name stringscript_code Adds a script to the FDF, which Acrobat then adds to the doc-level scripts of a document, once the FDF is imported into it. It is strongly suggested to use '\r' for linebreaks within script_code. Adding JavaScript code to a FDF ]]> will create a FDF like this: > >> >> endobj trailer << /Root 1 0 R >> %%EOF ]]>