Controlling the visibility of groups of items in inline list

I have an app with an inline list containing numbered sets of questions for students. These sets are sorted and grouped by day (1,2,3, etc). Each day has multiple sets of questions below it. I want each day’s questions only to be visible as that day of the course arrives.

I have done this with a boolean column in the table that lists each question set (each set contains multiple questions). I can use this as a swtich to hide / make visible via the filter condition in options for the inline list item in the screen design. I have to do is keep selecting / unselecting the relevant sets in the boolean column.

This works but it would be more convenient if I had one switch / control to make ALL the sets for one day either visible or invisible. It would be much faster to then toggle many sets of questions on and off depending on where we are in the course.

Do you know how I can do this?

Thanks

Paul

All you would need is a table that stores the day in one row/column. Then use a Single Value column to populate that value in every row in your questions table. Then use an IF column to compare that single value number to the question’s day number. If they match, then return ‘true’. Filter your list to only show the rows with ‘true’.

1 Like

Thanks for your help.

But what I want to do is allow students to see earlier material. So for example: on day 5 they the material for days 4, 3, 2 and 1 is also available.

I think your suggestion only works if one day is being selected at a time. Or am I wrong?

Thanks

Paul

Change your IF statement to check for everything less than or equal to the single value number.

1 Like

Got it and done it.

Thanks very much.

Paul

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.