• Resolved rawhead

    (@rawhead)


    Hi!
    Is it possible to group many calculation fields in one calculation field (not a field group)? I’ve created approx 25 calculation fields and now I try using PayPal field (but the PP field needs only one calculation field as a variable). I’d like to use OR function but it doesn’t work in calc field.

    For ex:
    {calculation-3}OR{calculation-4}OR{calculation-5}OR. etc.

    Any solutions?

    Thanks!

    • This topic was modified 9 months, 1 week ago by rawhead.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @rawhead

    I hope you are doing well.

    I am afraid not, you would need to use a final calculation field as a bridge to be used in PayPal, for example, if any of your calculations return zero it is ignored so let’s say you have:

    {calculation-3}+{calculation-4}+{calculation-5}

    But only calculation 3 is a valid value and the other calculation hidden the result is the caclulation-3 value then you can use that new calculation field in PayPal.

    If you share your form using pastebin.com https://wpmudev.com/docs/wpmu-dev-plugins/forminator/#import-export we can have a better idea of how your formula works and see if we can provide a more accurate response too.

    Best Regards
    Patrick Freitas

    Thread Starter rawhead

    (@rawhead)

    It works!

    Thank you for your help! ??

    Plugin Support Williams – WPMU DEV Support

    (@wpmudev-support8)

    Hi @rawhead

    Thank you for letting us know!

    I’m glad it works for you now. I’ll mark this topic as resolved then but in case of any follow-up/additional questions, just let us know and we’ll be happy to get back to you.

    Best regards,
    Adam

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Calculation field – function OR’ is closed to new replies.