Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

How to know the target XFA Version of a form with JavaScript

Not applicable
I need to know, at runtime, the target XFA Version of the current form. This is the corresponding xfa version to the Adobe Reader Target Version one chooses in the Form Properties dialog.



I notice that what one puts in that "Target Version" drop down,



is reflected in the PI:



originalXFAVersion http://www.xfa.org/schema/xfa-template/2.5/



but I think PIs ar inaccessible in script.
1 Reply
JohnBrinkman
Level 2
Level 2
Duarte:

I have a blog entry that discussed target version and original version. It also has a sample that shows how you can extract these versions from a form at runtime.

http://blogs.adobe.com/formfeed/2009/02/form_compatibility.html



John