Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.

"Hide" a preSign event for Reader version 8

Avatar

Level 1

Hi all,

I'm using the preSign event for my form, and for some different reasons those forms will be open with Adobe Reader 8 or 9.

As the preSign is not compatible with the version 8, is it possible to "deactivate" the presign event if the user has the version 8 of the Reader?

It's really a particular case, because the form must be compatible with version 8 and 9 of Reader, except for my preSign treatment: this one can be ignored if the version used is the 8.

Thanks in advance,

1 Reply

Avatar

Level 10

Hi,

If you wrap your script in the preSign event in an if statement, which first checks the application version.

if (app.viewerVersion >= 9)

{
     //your script here
}

If the user has Reader 8 then the script will not run.

If you are going to have an alternative approach in a different event for users with Reader 8, then a similar approach would work in that different event:

if (app.viewerVersion < 9)

{
     //your alternative script here
}

Hope that helps,

Niall