Hi everyone!
So this is a concept I am quite comfortable with in traditional programming, but am struggling with it in Wappler. I am sure it comes down to just not knowing the proper syntax so I’m calling in a lifeline!
I am inside of a repeat and need to build off of some previous values, with each iteration building off prior values (to achieve a “smoothing effect” in this particular metric). In the screenshot below, the gain_avg in object 15 is going to be based off of the gain_avg value in the previous object $14.gain_avg value.
I can successfully decrement the index using this notation {{$index-1}}
but how do I get to the gain_avg
property belonging to this object? {{$index-1.gain_avg}}
and {{($index-1)gain_avg}}
don’t work.
Community Page
Last updated:
Last updated: