I have created a Gallery in a PowerApps Canvas that contains, a Label control a Radio control, a Checkbox control, and a Textbox control.
I also have a SharePoint list with column/data structure as below:
| RowID | Question | Type_Container | Type_subList | Type_Display |
| 1 | q1 | Radio | a;b;c | TRUE |
| 2 | q2 | Radio | I.;II.;III. | FALSE |
3 | q3 | Text | | TRUE |
| 4 | q4 | Check | x;y;z | TRUE |
| 5 | q5 | | | FALSE |
I want to set up the Gallery so that shows the items where Type_Display = TRUE (which I know how to do)
AND where RowID = 'var_X'
AND if a Question is visible, fill the Type_Container with items in the Type_subList.
For example if 'var_X' = 1, then the Gallery LabelContainer.Text="q1" and RadioContainer.Visible=True and the RadioContainer.Items = {a;b;c} (so 3 radio choices of 'a' or 'b' or 'c')
if 'var_X' = 4, then the Gallery LabelContainer.Text="q4" and CheckContainer.Visible=True and the CheckContainer.Items = {x;y;z} (so 3 radio choices of 'x' or 'y' or 'z')
I feel like i can mostly get it, but the last bit of adding the List_subList to the containers is tripping me up. That column in my SharePoint is formated as a multiple choice with the option to add values that are not already in the choice list...