How to Display Quiz Categories as Buttons in a Repeating Group and Filter by Category?

Hi,

How can I add quiz categories to the ‘quiz card’?
I have a repeating group that includes information about the quiz.
I want to add categories for each quiz as buttons, so when clicked, it will take the user to a quiz list filtered by that category.

How can I achieve this?

Hey there @galliaeran

You can create a list field named categories in the quiz card. This list field’s type should either be an option set (static) or a category data type (dynamic)

Here’s a thread about option sets and data types to help you understand more: Data Type Vs Option Set

You can nest another repeating group within the group/cell of the quiz with a data source of parent group’s quiz’s categories

You can use url parameters for this. When users click a category, you should:

  1. Redirect them to the page where your list of quizzes are
  2. Click send more parameters within the go to page action
    image
  3. In the repeating group’s data source, add a constraint for the category

Hope this helps

This topic was automatically closed after 70 days. New replies are no longer allowed.