• Resolved geekhero

    (@geekhero)


    I have RepeaterA, which has RepeaterB inside it. Inside RepeaterB there are the following fields: FieldA, FieldB, and FieldC. I want FieldA * FieldB to be calculated in FieldC, however that is not providing a result

    It works nested in one repeater, but not the second. Is this not currently possible with this plugin?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author wundermatics

    (@wundermatics)

    Hi @ geekhero,

    Full transparency, this not a scenario that we’ve been testing for. I’d say that it’s a slightly more complex use case than we anticipated having to handle ??

    We’ll take this into consideration and tinter with it. Perhaps it’s easy to handle, but at this point I can’t promise a solution in the near term.

    Thread Starter geekhero

    (@geekhero)

    Ah, no worries, I’ll just code it to calculate with php as I don’t really need it to store in the DB. Thanks for the response!

    Hi

    I can as well confirm this is not working. In our app nested repeaters is a very common use case for a lot of our customers. I will check the code if there is an easy fix for it.

    Otherwise I will just make the calculation in code instead.

    Best regards Andreas

    Plugin Author wundermatics

    (@wundermatics)

    Hi,

    Just want to confirm from the plugin author that this scenario is not supported. We’re working on various enhancements for the next release, recursive field definitions will most likely be one of those enhancements.

    We can’t give a definitive date for the next release at the moment, we’re hoping it’s going to be during the month of May.

    Hi.
    This is great news that its something that is being worked on.
    Im rather a newbie & I have no coding skills, so I would not be able to code my solution.
    But my scenario is as follows.
    A repeater field (A) with subfields select, repeater (B) & number (1).
    And within repeater field (B) subfields of number (2)

    RepeaterA
    Select | RepeaterB | Number1 (sum(RepeaterB.Number2))
    Number2

    If somebody is able to help me with code and where I should put it, I would be extremely grateful.
    I am using ELEMENTOR / ACF / CPTUI / WPUSER FRONTEND / CALCULATED FIELDS for ACF

    Thanks in advance

    • This reply was modified 4 years, 5 months ago by rpdnartisan.
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Calculate two fields in a repeater that is also in a repeater?’ is closed to new replies.