All documentation

Stacklar Documentation

Calculated Fields in Stacklar

Create calculated fields for totals, scores, estimates, or formulas based on values entered in the form.

Open: Stacklar -> Edit Form -> Calculated block

Build the formula with field names, then choose how the result is displayed.

Add and Configure the Field: Calculated Field

  1. Create the source fields first, such as Number, Select, Radio, or Checkbox, and give them clear Names.
  2. Add a Calculated field, select fields and operators in the formula builder, then edit Formula (editable) when needed.
  3. Choose Format and Decimals, then set Currency symbol, Thousand separator, and Decimal separator for the displayed result.
  4. If the calculated value is used for payment, test both the frontend display and the submitted server-side value.

Field Options

  • Formula: Reference field names and operators to calculate the result.
  • Format and Decimals: Choose the number or currency display and the number of decimal places.
  • Currency symbol, Thousand separator, and Decimal separator: Configure the displayed result.
  • Read only: Prevents visitors from editing the calculated result.

Test the Field

  • The calculation updates correctly on the frontend.
  • The submitted entry stores the expected calculated value.
  • Payment amounts are not changed by formatting, locale, or hidden fields.

Frequently Asked Questions

Where do I open these settings?

Open Stacklar -> Edit Form -> Calculated block.

What should I verify after making changes?

The calculation updates correctly on the frontend.

Official reference: WordPress block settings documentation.