Copy link to clipboard
Copied
In an Acrobat PDF form, I can assign an OnFocusEvent to show some other field if a user pushes on a button in form.
I simply add it to button properties>action>on focus>run a js
the Javascript event used is as in following:
this.getField("point.2").display = (event.target.value=="Off") ? display.hidden : display.visible;
But, is it possible to assign an event for a second click for showing some other fields?
Copy link to clipboard
Copied
You can remember the first click in a hidden form field.
Copy link to clipboard
Copied
Forgive my ignorance but how?
Copy link to clipboard
Copied
At the first click change the value of the text field. At every click check the value of the text field.