Hi guys,
This is my first post, but I have learnt a lot from this forums, but I need some help. I have managed to show / hide fields base on a checkbox. That works great, thanks to an example on the forum. Upon clicking on the a checkbox it displays or hides other checkbox fields. I need a way to add a two more columns to right of the fields and they also hide or show with the initial checkbox.
So, field1 which consist of the check box and label, I need to add to columns on that same line when this line is visible.
Maybe I didn't explain this well, but hope someone can understand what I am trying to do.
Thanks for your help.
http://admin.adobe.acrobat.com/_a200985228/p87746471/
Dynamic Columns are a bit tricky because of the limited horizontal space. It might be better to create the column as a subform that is shown and hidden. The show/hide code will need to use the "resolveNodes()" function so that it can find all instances of the column to show/hide.
You can find more detailed video tutorials on this topic at: www.pdfscripting.com
Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]
The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/javascript.php]http://www.adobe.com/devnet/acrobat/javascript.php[/url]
Then most important JavaScript Development tool in Acrobat
[url=http://www.acrobatusers.com/tutorials/2006/javascript_console][b]The Console Window[/b][/url]
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script