Answered
I am using Thom Parker's code from his AcrobatUsers class called "Creating Radio Checkboxes". The code works fine if all the checkboxes are on the same page.
However, in my form one of the radio checkboxes is on another page. The radio button cannot be deselcted and the whole group loses it's mutual exclusivity features created by Thom's code.
Is there an easy way to fix this? The forum won't let me post the javascript here because it looks like HTML and I'm new.
If this is a static form the buttons can be part of the same logical exclusion group (on the hieararchy tab), but be in different physical locations. Otherwise it gets more complex.
If this is a dynamic form the physical and logical location will probably need to be the same. It depends on the level of separation. But there are solutions. For example you could place invisble buttons in the group, and then use code in an invisible button to tie it to a visible button somewhere else on the form. Sort of button proxies. And there are other things you can do. But how simple or difficult a solution is to implement really depends of the specifics of the situation.
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