Auto Add Row to Repeating Group

Hello Everyone

I have the user clicking “Create New Form” takes them to the form page, I create a new form with 1 row and then let the user create as many rows as they want. That if the user clicks “Add Row” then another row will populate.

Thanks

1 Like

Can you explain a bit more? I’m not sure what your question is :slight_smile:

So i have a Quiz group in a repeating group, so i created a button name “Add new Quiz”.
so i am asking how to set up a workflow such that a new row will be created once the button “Add new Quiz” is clicked

A simple way is to create a row in the DB.

can you walk me through it?

There are 2 ways to go about this:

  1. The easier way - When the user clicks on Add new Quiz, you create a new thing in the database, and that will automatically be visible in the repeating group (assuming that the data source for the repeating group is properly set and does not have any conflicting filters set)
  2. You set this up by manipulating custom states

so all these have been done, thanks

but got some other issues

so a Lesson with field (lesson title, lesson summary, lesson video) is created then saved,

Quiz set to be saved added to the lesson which has (Question, list of choice). So the challenge is when the quiz 1 is added with it’s list of choices and question is saved successfully. But quiz 2 when it is saved overwrite quiz 1

How do i workaround that, such that when quiz 2 is created it doesn’t overwrite quiz 1 and likewise if quiz 3 is created, such that all quizzes(1, 2, 3) and their respective list of choices and questions are saved to the SAME LESSON

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