• Resolved jpgoem

    (@jpgoem)


    I made a form with a calculation of a cost in a repeater field group. It concerns one or more registrations with a cost that depends on another field.

    At the bottom of the form a final calculation is made of the total cost.

    The result (the total cost) is correct on the form in the front-end, but it is 0 in the submissions, in the email notification and also in the export CSV.

    Here is the exported form : https://pastebin.com/wiw3En3t

    Please help.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Nebu John – WPMU DEV Support

    (@wpmudevsupport14)

    Hi @jpgoem,

    I hope this message finds you well.

    To investigate this further, I exported the form to a test website at our end but it failed with an error.

    https://ibb.co/RBxDXLZ

    It seems the export text got corrupted while copying. Could you please re-export the form and share using Google Drive or Pastebin.com?

    We look forward to hearing back from you.

    Kind Regards,
    Nebu John

    Thread Starter jpgoem

    (@jpgoem)

    Hi John,

    I also can’t import the exported form. Not clear what’s wrong here.

    So I created a new form, from scratch.
    I still have a problem with the total cost at the bottom of the form, but the error is now only on the form in the front-end. And it is now correct in the submissions, in the email notification and also in the export CSV. So actually the opposite of the original error.

    Here is the new exported form: https://pastebin.com/mPW3xqJY

    Plugin Support Laura – WPMU DEV Support

    (@wpmudevsupport3)

    Hi @jpgoem,

    Hope this message finds you well.

    After importing your form I noticed the Total {calculation-6} is getting the total from other calculation fields inside Group fields hidden by a Visibility rule.

    I reported this issue to our devs team, and they will provide more information about it, since they work on complex issues, getting a reply from them could take more time than usual. We will notify you in this topic once we get an update from them.

    Best regards,
    Laura

    Plugin Support Laura – WPMU DEV Support

    (@wpmudevsupport3)

    Hi @jpgoem,

    We got feedback from our devs.

    They explained that currently, no snippet could help, however, applying the same visibility rules as the Group Fields to the fields – in your case Calculation fields – inside the Group field will avoid getting the Total {calculation-6} in the front-end.

    https://prnt.sc/9baF61hVN2XH

    Let us know if you require additional information.

    Best regards,
    Laura

    Thread Starter jpgoem

    (@jpgoem)

    Hi Laura,

    Thanks for your research and escalation to your dev team.
    The explanation is clear, and the suggestion works: I just tested this on my test system, and it works fine.

    Thanks again for the great support!

    Plugin Support Williams – WPMU DEV Support

    (@wpmudev-support8)

    Hi @jpgoem

    I’m glad to hear it works and I’m happy my colleagues were able to help!

    I’m marking this as resolved then. If you have any other questions, please don’t hesitate to open new topics and we’ll be happy to help.

    Best regards,
    Adam

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.