I am trying to create nested drop down menus with LiveCycle Designer 8.0. In order to streamline the form I am creating, it would make sense to have a drop down list with 5 options. The users selection on this first menu would then determine the options available in the second drop down menu. A simple example of this would be the first menu would have a list of countries, and then the second menu would show allow users to select only cities that are in the country the user selected in the first menu. Thanks so much in advance for your help.
That would probably be the best approach for your situation if the list data is unlikely to change often.
For reference for anybody trying to solve this problem where you are likely to have to change the data frequently or need have different drop-down data on each form instance, there's a page in the Designer help system walking through the steps of doing this with a data connection. It should be the first result for the search term:
"populating second drop-down"
I only stumbled across this recently and found it very useful.
Try popping a message box up on the first line of the script to double check what the raw value for the radio button group is... I believe that this may vary depending on what (if any) bindings are defined for the group:
Sorry, but no difference: I get no popup and the buttons are still not showing up. Let me give you a little more info that may be relevant.
I'm trying to have the user select the legal structure for an organization. The options are corporation, sole proprietorship, partnership, or other. If corporation, the second set of buttons should allow the user to select public or private. This second set of buttons is placed within the first exclusionary group, after the first button, but, in the hierarchy, it is listed after the other one.
I missed it at first, but then I understood it and replaced subform with the actual name.
I did have "show as static pdf," which I don't normally miss. I corrected this, and it now works . . . in a way.
Why in a way? Although the additional set of buttons now displays, they wont disappear when I select one of the other buttons.
The idea is that when the corporation button is selected, public or private show up. However, when subsequently one of the other buttons (sole proprietorship, partnership, or other) is selected (hey, anybody can make mistakes :-)), the sub-buttons should now disappear. Should I put additional code?