Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Link sets of Option buttons

Posted on 2011-03-25
5
204 Views
Last Modified: 2012-05-11
Hi experts,

I am very new to Infopath.

I have two option buttons - Primary1 and Primary2. Selecting Primary1 should bring up another set of option buttons - secondary1 and secondary 2, and selecting Primary2 should bring up Secondary3 and Secondary4. Please see a demo in the attached image where it shows the secondary1 and secondary2 coming up when primary1 is being clicked. Please help how this could be done.

Thank you in advance. Mock-up
0
Comment
Question by:j1981
  • 3
  • 2
5 Comments
 

Accepted Solution

by:
TechsupportAbility earned 125 total points
ID: 35235707
I find using Sections to be very helpful in doing this.



Basically what you would do it put Secondary1 and Secondary2 into one Section Box and then Secondary3 and Secondary 4 into another Section Box.  

 Section Box Setup
Then you'll need to set up a Conditional Format to show the contents of each section when a certain condition is met. Below is the conditional for the first section:

 Section 1 Conditional
Then you just do the same for the second Section except you want the condition to be "Primary is not equal to Primary2"

Primary being the Field Name I assigned to the main set of Option Buttons and Primary1 & Primary2 being the values I assigned to each individual Button.

Let me know if that helps at all.
0
 

Author Comment

by:j1981
ID: 35241493
I tried this, but now, neither of the sections are coming up no matter whether I select Primary1 or Primary2. Please let me know if you want me to send over the screenshots.

Thanks
0
 

Expert Comment

by:TechsupportAbility
ID: 35244927
Yeah, can you post a screenshot of the Data tab for one of the Section's Properties? And also a screenshot of the Conditional you set up for that Section.
0
 

Author Comment

by:j1981
ID: 35259922
Here you go. optionbuttons
0
 

Author Closing Comment

by:j1981
ID: 35966852
After more experience with Infopath, I believe this is the way to go to do what I wanted. However, I am giving a lower grade as there was no followup to my last post. But definitely want to thank TechSupportability for responding.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Before you can digitally sign infopath forms, you must have a digital certificate. Microsoft Certificate Services will need to be enabled on a Windows Server 2008 to facilitate the creation and verification of the digital certifciates on the web ser…
Many businesses neglect disaster recovery and treat it as an after-thought. I can tell you first hand that data will be lost, hard drives die, servers will be hacked, and careless (or malicious) employees can ruin your data.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question