What is the equivalent of this code in this program?

I have learned recently that 99% of what I know in programming code into the adobe acrobat PDF I am creating is straight Javascript.
So that should work in this program just fine, I believe.

1.Is this correct?

This one piece of code I was told is exclusive to the acrobat enhancement of Javascript is "this.getfield" an example is:
this.getField("nameoffield").value
Where"nameoffield" is the name of a cell or field as it is called in acrobat.

2. Is there an equivalent and what would it be in this program?

Bruce

PS. I will post some of my consolidated script on here if someone will tell me how hard it will be to convert it to be used in this program.

Comments

  • You can reference the field by the name it has in the designer. So for a field named Strength, you'd do:
    var a = Strength.value
    

Leave a Comment