Copy link to clipboard
Copied
Hello everybody! I am trying to solve a problem. I have to develop an interactive PDF where users can click a button and display a number on another page of the same document. And if users click another button, a different number will appear.
Does anyone know how I can do that?
As the Mouse Up event of each of those buttons enter something like this JavaScript code:
this.getField("Text1").value = "ABC";
Adjust the field name and value you want it to have, of course.
Copy link to clipboard
Copied
As the Mouse Up event of each of those buttons enter something like this JavaScript code:
this.getField("Text1").value = "ABC";
Adjust the field name and value you want it to have, of course.
Copy link to clipboard
Copied
Thanks TRYG7!
I will add this code to each button. But in the place where I need to show the number, do you know how can I display this number when users click the button above?
What Java code should I use?
Copy link to clipboard
Copied
It's "try67" not "tryG7", but never mind...
Sorry, I don't quite follow what you mean.
Copy link to clipboard
Copied
Sorry, try67!
It works! Thank you very much, We´ve got it!