Forum Discussion
Surenderkumar
4 years agoCommunity Member
Variables help
Hi,
I need help in setting up the correct variables in four assessment slides in such a way that if the user selects any radio box as an option, the total should reflect the basis of the user's ch...
Jürgen_Schoene_
4 years agoCommunity Member
so many variables ...
your problem are the 5 variables "totalRow1", ... - they are only correct initialized from the submit button in the first run
in your screen recording you can see the row variables don't fit to the rest
5 x 2 = 10 (value near the submit button) from the first run
but now 5 x 0 (totalRow1, ...)
if you click one "1" -> result 1 (1x1 + 4x0) - not 1x1 + 4x2 = 9
your variables should either be initialized correctly at each slide start - or - don't use them multiple times (each slide has its own set of row-variables)
Related Content
- 12 months ago
- 12 months ago
- 12 months ago
- 12 months ago
- 12 months ago