Repeater field problem when re-editing entry
-
I created a lengthy calculation form with several repeaters. Each repeater section calculates data based on field results within that repeater.
All the totals from those repeaters are calculated again on a final summary section.
This all works great until it is time to EDIT a saved entry. The calculated data in the repeater appears to be adding to the other calculated data in the same repeater – if the first repeater calculates to 37.00 and the second repeater calculates to 37.00, when editing this saved entry, the repeater entry shows 74.00 as the calculated amount. Or maybe it is adding the saved entry data in that repeater item?
Repeater 1, calculates amount of 37.00 (example)
Repeater 1, (+ ADD) item, calculates 37.00
Save/submit entry
Edit entry after saving (on the backend or frontend)
Repeater 1, re-calculates amount of 74.00
Repeater 1, 2nd (added) item re-calculates 37.00
(unless there are more items added to the repeater then the calculations get worse)I hope this scenario is clear enough. I’m still testing to see where the additional calculation is coming from. This form is very large and, to me, complex – it has 4 repeaters, 3 sections and a lot of calculation options and fields.
Any help is appreciated. Thank you.
- The topic ‘Repeater field problem when re-editing entry’ is closed to new replies.