Is there a way to display the formsPlayer version on the form?
formsPlayer version
Submitted by yearjg on Thu, 2007-02-22 19:16.
|
|
formsPlayer version
Submitted by yearjg on Thu, 2007-02-22 19:16.
Is there a way to display the formsPlayer version on the form? |
formsPlayer version
Thank you, works well.
A slightly condensed version:
<xforms:output value="property('FormsPlayerVersion')">
<xforms:label>formsPlayer </xforms:label>
</xforms:output>
The property() function can return the version number
You can display the formsPlayer version number like this:
<?xml version="1.0" encoding="utf-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:xf="http://www.w3.org/2002/xforms" > <object id="formsPlayer" classid="CLSID:4D0ABA11-C5F0-4478-991A-375C4B648F58"> <strong>formsPlayer has not loaded. Please check your installation.</strong> </object> <?import namespace="xf" implementation="#formsPlayer" ?> <head> <title>formsPlayer version</title> <xf:model id="m"> <xf:instance id="i"> <data> <version /> </data> </xf:instance> <xf:bind nodeset="instance('i')/version" calculate="property('FormsPlayerVersion')" /> </xf:model> </head> <body> <xf:output ref="instance('i')/version"> <xf:label>You have the following version of formsPlayer installed: </xf:label> </xf:output> </body> </html>