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

    (@codepeople)

    Hi,

    An equation to get the waited result would be:

    (fieldname1 < 0) ? ABS(fieldname1)+fieldname2 : fieldname2

    Best regards.

    Thread Starter sallam

    (@sallam)

    Its not working. And there is no zero showing before adding data.
    The Form is here.

    Plugin Author codepeople

    (@codepeople)

    Hi,

    Your form includes many calculated fields with complex equations. Please, select the calculated field, and uncheck the option for optimize the equation.

    Best regards.

    Thread Starter sallam

    (@sallam)

    The minute I unchecked “optimize form equation”, it worked like a charm.
    Many thanks indeed.
    By the way, what does that option do?

    Plugin Author codepeople

    (@codepeople)

    Hi,

    This option try to avoid the chain of equations when the equation of a calculated field includes other calculated fields; but with complex equations the process of optimization can fail.

    Best regards.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘conditional addition’ is closed to new replies.