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
BedrockMission!

Learn More

View all

Sign in to view all badges

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

Avatar

04-02-2009

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.

Replies

Avatar

Avatar
Affirm 3
Level 2
JohnBrinkman
Level 2

Likes

0 likes

Total Posts

20 posts

Correct Reply

3 solutions
Top badges earned
Affirm 3
Affirm 1
View profile

Avatar
Affirm 3
Level 2
JohnBrinkman
Level 2

Likes

0 likes

Total Posts

20 posts

Correct Reply

3 solutions
Top badges earned
Affirm 3
Affirm 1
View profile
JohnBrinkman
Level 2

06-02-2009

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