Jump to content
Lorenzo

Fields visibility

Recommended Posts

Lorenzo

I've found the solution on my own!

In the properties of the main field, go to Actions, choose on Blur,  then execute Javascript and then insert the code similar to that below.

if (getField("Testo1").value == "X")
    getField("Testo2").display = display.hidden;
else
    getField("Testo2").display = display.visible;

 

  • Thanks 1

Share this post


Link to post
Share on other sites
Lorenzo

Me again, I managed to hidden a textbox, but I need to hide text as well.

I'm wondering how I can do that as text has no name. Any ideas?

Share this post


Link to post
Share on other sites
Steven Zakulec

You could do this with JavaScript (grab something pre-existing somewhere), or you could try doing read-only form fields- these two Stack Overflow answers have some ideas: https://superuser.com/questions/1186346/hide-and-reveal-text-in-pdf-via-adobe-acrobat-other-software

https://stackoverflow.com/questions/27001889/how-to-display-hide-text-in-acrobat

 

Share this post


Link to post
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.