Copy link to clipboard
Copied
hi,
i am a teacher and i want to create a field which hides itself and reveals the text below it but when i hover away it hides it again. That will be super useful to test my students. I have been trying to figure out a way.
can anyone please help.
Copy link to clipboard
Copied
Use the Mouse Enter and Mouse Exit events to change background color of the field between a solid color and transparent. Actually hiding the field will keep the field from recieving the trigger events.
For Mouse Enter to hide the field use this JavaScript code:
event.target.fillColor = ["T"];
For the Mouse Exit to show the field use this JavaScript code:
event.target.fillColor = color.white;
Copy link to clipboard
Copied
Thanks for reaching out.
Are you willing to hide the entire form field content file only? Also,
Check this custom script, which might help for the same requirement https://community.adobe.com/t5/acrobat-discussions/pdf-forms-pop-to-show-correct-result-when-hover-t... Or the form fields inbuilt property Tooltip.
Right-click on a form filed> Properties>General> Tootip
Also, you can also set the form filed common properties as its visibility under Properties>General
Thanks,
Akanchha
Copy link to clipboard
Copied
i just want to create a field which hides/becomes transparent when i hover over it and when i remove my cursor it should reappear
this is what i want to acheive..thank you
Copy link to clipboard
Copied
Use the Mouse Enter and Mouse Exit events to change background color of the field between a solid color and transparent. Actually hiding the field will keep the field from recieving the trigger events.
For Mouse Enter to hide the field use this JavaScript code:
event.target.fillColor = ["T"];
For the Mouse Exit to show the field use this JavaScript code:
event.target.fillColor = color.white;
Copy link to clipboard
Copied
how can i make these javascript properties default for all new fields instead of setting it up manually everytime..even if i set "use current properties as new default"..javascript properites are not copied
thank you
Find more inspiration, events, and resources on the new Adobe Community
Explore Now