Link to home
Start Free TrialLog in
Avatar of Eroots
ErootsFlag for United States of America

asked on

Multi-Level Relational Checkboxes

I need to create three checkbox sets that are relational. The goal is to list individuals as being part of a primary list set, with a second level list set and third level list set that changes based on what is selected in the primary list set.

Say, I have three checkbox fields, 1 2 and 3. I need to check something in one and have the value list update in field 2, check something in 2 and it changes in 3.

I was trying to set this up using a "categories" table with recursion, but haven't been successful. Can someone recommend some tips to wrap my head around this?

I have attached my sandboxing file.
Checkboxes.fp7
Avatar of Will Loving
Will Loving
Flag of United States of America image

The attached file does what you are looking for. The problem was that you needed to have a relationship from the selected value in the checkbox to the available child Categories, in other words, from Checkbox1 to ParentCategory. That they acts as the source for the value list to show you what values might be available for CheckBox2. Similarly, you needed another relationship between Checkbox2 and ParentCategory to show the possible values for Checkbox3.

In addition, I created a script and then applied it as a Script Trigger to all three fields. The script simply clears the values in the parent and child fields (Checkbox3 or both Checkbox2 and 3) if the Parent value is changed. That prevents old entries from remaining if the parent value is changed.

User generated imageCheckboxes-v2.fp7
Avatar of Eroots

ASKER

Is there going to be any way to expand on this concept so I can actually use it as a series of checkboxes, rather than a menu and radio sets?

I figure there will most likely be people that cross into multiple secondary and tertiary categories.

Thanks, the relational diagram makes sense, I figured recursion wasn't the way to go for the interface.
ASKER CERTIFIED SOLUTION
Avatar of Will Loving
Will Loving
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Eroots

ASKER

this was the baseline I was looking for. I made some tweaks to the scripting and am still working out some conditions (and what to do in find mode) but this works for what I need for now! Thanks!