Unable to set repeating group for Quiz questions and answers

Hi,
My app needs the following;

  • List of questions
  • Each question will need a radio button with answer options

I’ve setup the database as follows;

  1. User (user will have module set to specify which list of questions to show)
  • module
  1. Questions (multiple questions will have the same module)
  • title
  • module
  1. Options (the different answer options for each question will be added to Options)
  • answer
  • question

The design is as follows;

  1. Repeating Group Questions
    Screenshot 2020-12-15 at 12.47.05 PM
  2. Question text
    Screenshot 2020-12-15 at 12.50.09 PM
  3. Question options

What should the source for #3 above be?
Where and how do I save the answers selected for each question. (tried custom state, unable to get it set for radio button. There’s no workflow option for radiobutton)

Any suggestions??
Much thanks,
Ruchika

You have a couple of options here. The easiest to fix what you have there is the following for number three:

Search for Options with the question constraint = Current Cell’s Question.

In your database, on the question object, you can also add a List of Options (answers) field that has a type of options and just make sure you check the “This field is a list (multiple entries)”. If you add the options to this field, you can set the Radio Buttons source to current cell’s question’s List of Options.

Either method works.

1 Like

I figured out how to set the workflow to get the radio button value on custom state. I had to use the workflow “When an input’s value is changed” and select the Radio button as it’s element.