Answered
Is there a way to do calculations when using a loop screen? I've set up a point system, however, it does not seem like I can add a "total point" option using the calculation feature either within the loop or outside the loop screen for a "grand total". Does this make sense? Do anyone have a workaround?
0
Comments
Please sign in to leave a comment.
Hi David,
You can do calculations from loops using the summary field type (instead of the calculation field). Here's a write up of how that works: https://help.gocanvas.com/hc/en-us/community/posts/360004374454/comments/360000792754. Let me know if that isn't what you're after, but it should get you that grand total of things within a loop.
I have a form that uses a counter to track and sum the number of entries made by the user and conditionally show a screen if the user hasn't entered all observations. This may be adaptable to your use case:
On the loop screen, have a number field type for user entry.
On a grand total screen after the loop, add a Summary field type, style number, specify screen as the loop screen and summary field as the number entry on the loop screen.
Matt