Hi,
I'm new to the world of Interactive forms and PDF's but unfortunately need to create one for a client. Basically the problem that I have is that I have different layers imported from Indesign where I have designed it. Each layer represents sections of the form that will show when checked with either a radio button, or a check box. I'm having a problem finding a script that will allow a check box to, when checked bring up the layer on which the certain area of information will be, and then when clicked again, it will disappear.
Im really not sure of any way that I can get it to work. I have tried to set layer visibility and it works as to showing the layer, but then, once clicked again the layer does not disappear.
If anyone has any idea a) what I'm on about, and a way to help, that would be an awesome help as this is an important job and needs to be nutted out
Thankyou.
p.s Im working on CS4 on a Mac if this helps.
http://www.acrobatusers.com/tutorials/2006/create_use_layers
It discusses how the Layer (OCG) properties need to be set up and the JavaScript thats used to control them.
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.pdfscripting.com/public/34.cfm#JSIntro][b]The Console Window (Video tutorial)[/b][/url]
[url=http://www.acrobatusers.com/tutorials/2006/javascript_console][b]The Console Window(article)[/b][/url]
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script