Lorenzo Posted September 14, 2018 Report Share Posted September 14, 2018 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.pdfIn the "Customer Spaces" section try to change the value of the checkboxDo you mind telling me how to achieve this behaviour with Nitro Pro? TIA Link to comment Share on other sites More sharing options...
Lorenzo Posted September 14, 2018 Author Report Share Posted September 14, 2018 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; 1 Link to comment Share on other sites More sharing options...
Lorenzo Posted September 17, 2018 Author Report Share Posted September 17, 2018 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? Link to comment Share on other sites More sharing options...
Power User Steven Zakulec Posted September 18, 2018 Power User Report Share Posted September 18, 2018 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 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now