Jump to content

Pages Created in Adobe with Java script do not behave correctly.


Mario Carpini

Recommended Posts

Mario Carpini

Hello,

I am trying to standardise our organisation on Adobe Pro and am getting some pushback.

Some users have created pages in Adobe Acrobat that have Java code that  will not behave as expected in Nitro Pro.

An Example is below.

var f=this.getField("Check Box1");
var s=(f.value.length>0);function checkCheckbox(){
if (this.getField("Check Box4").isBoxChecked(0) == true) {
this.getTemplate("LC-2030_1").hidden=false;
this.getTemplate("LC-2030_2").hidden=false;
} else {
this.getTemplate("LC-2030_1").hidden=true;
this.getTemplate("LC-2030_2").hidden=true;
}
}
checkCheckbox();
 

 

In adobe, the java script above will unhide 2 pages when the check box is checked and hide the pages when the box is unchecked.

In Nitro ticking the check box opens two pages.

When unchecking the box another two of the same pages open.

Ticking and unticking just opens the pages multiple times.

They have used the same technique for at least 50 check boxes on the page.

 

Any help apreciated.

 

 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.