I’ve done quite a bit of research trying to find a solution to this, but I’ve unfortunately not been able to.
Example setup: I have a RG with two columns. Student Name and avg score on a given test. within in each, I am calculating the avg score based on the scores of all the questions on each exam. These averages are calculated using the math.js plugin.
Student | Avg Score
Tony | 3.7
Isaak. |. 6.8
Victor | 9.5
John | 2.3
I am trying to figure out the best way to update a custom state each time one of these averages is calculated. e.g. update the “all_class_scores” state (which is a list of numbers) so that once the full repeating group is loaded, the “all_class_scores” state would be = 3.7, 6.8, 9.5, 2.3. However, I don’t seem to see any useful actions on repeating groups to attain this.
This would be straight forward if I had some sort of click action in each cell to update the state, but that doesn’t make sense in this application.
My end goal is to use this state to then update a text field that calculates the overall average without having to click any buttons.
I’ve found a paid plugin that includes additional actions for repeating groups (e.g. end of list, # of items loaded, etc) but this seems like a pretty standard functionality that would be built into Bubble that maybe I am missing?