Solved

Link sets of Option buttons

Posted on 2011-03-25
5
205 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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone 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

Suggested Solutions

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…
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

679 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