Expand my Community achievements bar.

SOLVED

Using Script to check the version of Adobe Reader

Avatar

Former Community Member

Hi. I am now currently using LiveCycle Designer to create a form which can allow user to attach attachments. We found that if an user uses Adobe Reader 7.0 or below, there is a problem on attaching attachments. As a result, we would like to add a script to check the version of client's Adobe Reader in ready state of the form. If an user uses Adobe 7.0 or below, the message box will be prompted and suggest user to download a newer version of Adobe Reader. I would like to know is it possible to do so. Thank you very much

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi,

the script could look like:

if (typeof(app.viewerVersion) != "undefined")

if (app.viewerVersion < 8.0)

     {

     xfa.host.messageBox("Your Version of Adobe Reader is to old...");

     }

}

You can use it in the docReady:Event of your form to inform the users.

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

Hi,

the script could look like:

if (typeof(app.viewerVersion) != "undefined")

if (app.viewerVersion < 8.0)

     {

     xfa.host.messageBox("Your Version of Adobe Reader is to old...");

     }

}

You can use it in the docReady:Event of your form to inform the users.

Avatar

Level 6

Radzmar,

So, is the code you provided the actual code one can use to check the app version and display a message if the user version is lower than desired?

I've been looking for this solution and would like to know if your code is "ready to go" or if it requires further development (ie "undefined")?

thanks in advance.