[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 986
  • Last Modified:

Nested checkboxes and radio buttons

I am using Acrobat Standard 9 to create a form for clients to fill out. A couple of the items are radio buttons with nested sub-options. For example, one question has seven mutually exclusive options. Option 7 however, if selected, should present two mutually exclusive sub-options. Right now, the user can choose Option 1, and still choose an Option 7 sub-option. However, this should not be the case. If option 1 is chosen, those option 7 sub-options should not be disabled, and cleared out if already selected.

How do I accomplish this? I have similar issues with check boxes, but assume the answer to the above will work for that as well.
0
EricFleet
Asked:
EricFleet
  • 3
  • 3
2 Solutions
 
Karl Heinz KremerCommented:
I assume that you are creating "real" AcroForms because Standard does not come with the Designer application.

What you need to do is create independent radio buttons, one set for the first level, and then additional ones for your sub-options.

The first level radio buttons will then call a script (all of them the same) whenever they receive a "mouse up" event. This script will then determine the current value of the first radio button group, and if based on that, it will mark the other radio button groups as read-only or read-write.

How well do you know Acrobat JavaScript or JavaScript in general?
0
 
EricFleetAuthor Commented:
I am on Adobe Acrobat 9 Standard. I am not sure if I am getting my terminology mixed up, but I am creating a PDF that will be sent to a few clients. They fill it out, save it and send it back to us. I know javascript, but that appears to not be allowable in 9 Standard.
0
 
Karl Heinz KremerCommented:
How do you add the form fields? Does a properties dialog pop up when you add a form field? Does that properties dialog has an Action tab? Can you select a Mouse Up action that runs a JavaScript?

I don't have Standard, so it's hard for me to figure out what's possible and what not. In the past, Standard did not allow to create forms, that was changed with Acrobat 9.

Also, if you distribute your form, do all your recipients have the full version of Acrobat? Otherwise you need to enable additional rights for Reader, which limits what you can do with that form (e.g. you can only receive up to 500 copies of the submitted form).

So, can you please find out if you can attach JavaScripts to a form action.
0
[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

 
EricFleetAuthor Commented:
I can do mouse actions, however, I cannot do JavaScript. I have a few predefined things I can choose from. Online help indicates that professional does allow for JavaScript. I do find it odd that Standard can't do a simple enable/disable related fields. I know you cannot answer this one since you don't have the Standard version. I was hoping I was just misunderstanding the options I do have available.

Our clients do not have the full version. However, we do enable the additional rights. And we won't be near the 500 limit, so didn't see that as an issue.

Thanks for your help.
0
 
Karl Heinz KremerCommented:
Do you have show/hide field available in the list of supported actions? With that, you can hide the complete secondary group.

That Adobe does not allow JavaScript in forms created with Standard is odd... You can get the forms creation with JavaScript for free if you don't mind installing and learning an open source package: http://wiki.scribus.net/index.php/How_to_enhance_your_PDF_forms_with_JavaScript

Scribus is a very powerful desktop publishing application (http://www.scribus.net/)
0
 
EricFleetAuthor Commented:
Thanks for your help. I will likely go with the professional version as time is a consideration.
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now