Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

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


Former Community Member
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


Former Community Member

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.