Jump to content

Fields visibility


Recommended Posts

I'd like to set the visibility of fields depending on the value of a field like in this pdf: http://wwwimages.adobe.com/www.adobe.com/content/dam/acom/en/feature-details/acrobat/axi/pdfs/create-forms-sample.pdf
In the "Customer Spaces" section try to change the value of the checkbox
Do you mind telling me how to achieve this behaviour with Nitro Pro?



Link to comment
Share on other sites

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;
    getField("Testo2").display = display.visible;


Link to comment
Share on other sites

  • Power User
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



Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...

Important Information

By using this site, you agree to our Terms of Use.