• Resolved samchief

    (@samchief)


    Is it possible to have calculated fields at the backend wherein the user enters values in field1 and field2, then field3 is a sum of the values entered in field1 and field2.
    If posible, how?
    Thanks.

    • This topic was modified 7 years, 6 months ago by samchief.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    I have to believe it’d be possible somehow, but there’s not readymade already done solution for it that I’m aware of. I know there are a number of filters/actions that could be used to manipulate field values before/after save, and before/after fetching saved values. With those, you could do whatever you need with them, including manually updating other meta fields.

    That said, it’d perhaps be easier to just do the math on the frontend before the display of the value(s).

    Thread Starter samchief

    (@samchief)

    Mmmm, Sure the frontend does get that done easily.
    Thanks.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Welcome.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Calculated cmb Fields’ is closed to new replies.