Cannot find repeating group's inputs in workflow actions

I have a popup that displays a user’s profile information. Each user has a field that is a List of Children. In the popup, there are 2 sections, a group of inputs to change the user’s information, and a group of inputs to change the Child’s information for the current cell’s child.

However, as I am setting up the “Save” button to make changes to Child, I cannot find the nested child inputs. I am able to see the inputs in the group related to the parent profile, but not the current cell’s child.

Am I setting this up incorrectly or is this a bug?

Link to screen recording

1 Like

HI @Keymaker .

You can achieve that using java script code (by toolbox plugin) by following these steps :

  1. Give each input unique id as following
    image

  2. Run Java Script code to get inputs data and save as list in java script variable element (Supported by toolbox plugin )
    image

  3. Now you have inputs data from repeating group :100:
    You can preview the editor and test from here
    image

1 Like

Thanks for the reply! I’ll give it a shot and update this thread. Is this the only way to work with inputs within a RG for workflows?

I think there is a plugin also can achieve that .

Couldn’t really grasp your specific structure but I usually try to solve this problem within the frontend by adding input/submit button to a cell in the RG. This way I update each entry individually.

Might have to redesign your form in a way that it doesn’t look ugly. Like display save button every time value is changed not until then and so on.

The structure looks like this:

  • Popup
    • Group User
      • Edit icon
      • Group containing User info - visible by default
      • Group input form to change User - hidden by default
    • RG Children (with custom state)
      • Group Child
        • Edit icon
        • Group containing Child info - visible by default
        • Group input form to change Child - hidden by default
    • Group buttons - hidden until an edit icon is clicked
      • Cancel button
      • Save button

Unfortunately, I’m not able to find any of the inputs in the Child’s input form in the expression of the workflow action. I suspect it is because Bubble views this as a risk and is disabling it (because imagine executing a workflow that is based on one input in a repeating group list of 20 items simultaneously), but from a UI perspective it’s a pain to work around.

After posting my last reply, it finally dawned on me that there isn’t a need to put the form within the RG. After moving the Child input form to be the sibling of the RG, I was able to map everything in the workflow actions.

In order to indicate to the form which Child’s data to edit, I edited the workflow of the Child edit icon to display data in the Group input form.