Show or conditional region displaying when index is zero calculation - javascript Pros

I’m trying to only show a row every fourth time. I can accept the first time the row displays being the 5th row, understanding index starts at 0.

Here’s the code and theory:

if index is not zero then use a modulus calculation to show the row if the answer is zero.

dmx-show="($index != 0) ? ((($index / 4) % 1) == 0) : ' ')"

Problem is the row is showing the when the index = 0. Otherwise the calculation works. Not sure what I’m missing.

Community Page
Last updated: