pdfrx_web
    Preparing search index...

    Function evaluateCalc

    • Evaluates a FormCalcSpec against the current field values. Blank or unparseable operands are skipped (a SUM of no operands is 0; the other operations return null when there is nothing to combine, leaving the field unchanged). Returns the computed value as a plain number string, or null.

      Parameters

      • spec: FormCalcSpec

        The spec value (FormCalcSpec).

      • values: ReadonlyMap<string, string>

        The values to use.

      Returns string | null

      The resulting string or null.