alovio

WordPress / Alovio Calculator

Conditional logic

Show, hide or require calculator fields based on other answers — full AND/OR conditional logic, free in Alovio Calculator.

Conditional logic shows the right fields at the right time — and it’s free in Alovio Calculator, not a paid upgrade. Reveal an “express” option only when it’s relevant, require a field only when it matters, keep the form short.

How a rule works

Open a field’s Conditional logic and add one or more rules. Each rule has:

  • An action — what happens to this field: show, hide or require.
  • One or more conditions — each compares another field against a value.
  • A match — whether all conditions must be true (AND) or any of them (OR).

Operators

OperatorTrue when the field…
isequals the value
is notdoesn’t equal the value
containscontains the text
greater thanis numerically larger
greater than or equalis larger or equal
less thanis numerically smaller
less than or equalis smaller or equal
is emptyhas no value
is not emptyhas any value

Examples

Show “Sealant colour” when Material is Premium

Require “Site contact” when the running total greater than 500

Hide “Express add-on” when Delivery is Standard

Because conditions can compare against a formula result or the running total, you can drive the form from the price itself — for instance, asking for more detail only on larger jobs.

How visibility affects the total

A hidden field counts as empty and drops out of the calculation, so prices stay correct as fields come and go. Required fields only enforce when they’re actually visible — a hidden field never blocks a submission.

Chaining

Rules resolve in order, so you can chain them: if field A reveals field B, and B reveals C, hiding A hides the whole chain. Self-referential or circular rules are prevented for you.

Next

  • Put the results into a price: Formulas.
  • See conditional logic inside ready builds: Templates.