Monitoring set of inputs and calculating total on change

Looking for a solution to monitor a set of 15 inputs that sum up to a total in a couple different ways depending on the inputs (so there is some logic involved in doing the proper sum).

I’d like to try to avoid setting up 15 on change workflow triggers. This would normally be a piece of cake in JS, which I tried via a custom HTML element. However, it would appear that you can’t set an inputs value from an HTML element, so I can’t set the total directly. I suppose I could do a Javascript to Bubble, but it feels messy.

Is there a more native bubble way to do this that doesn’t involve incredibly long dynamic inputs?

Can you explain your logic in more details? Why do you need to track all 15 workflows inputs?

@ankur1 I need to be able to sum up figures based on which inputs are completed, when those inputs change, the sums need to change.

Here is a simple example.
Total = A + C UNLESS B is filled out then Total = A + B

Now multiply that by 15 different inputs… there are a lot of variations. This would be fairly straightforward in just raw JS. However I’m not seeing a path with Bubble that doesn’t involve a ridiculous amount of workflows including one for each input that may change.

I’m hoping there is something I’m missing that someone else has thought of.

@rdylina
got it the problem.

I don’t think there is any alternative solution, other than listening for input changes. (15 in your case)

I am also looking to hear for what others are saying.

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