I do not believe that you can get at the version information that is in the repository. It merely takes the latest one that is active.
All of the Form Properties are stored in the XDP template. Here is an example of getting at the Title and Version. This assumes your form root node is form1:
xfa.host.messageBox("Title is " + xfa.form.form1.desc.title.value)
xfa.host.messageBox("Version is: " + xfa.form.form1.desc.version.value)
Hello, is there a compact overview about all informations available in xfa.form.form1.desc.* ? I only found common informations about XMP at Adobe's website ...
And: If I defined some proprietary variables as form properties how can I get those values in these kind?