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
| Operator | True when the field… |
|---|---|
is | equals the value |
is not | doesn’t equal the value |
contains | contains the text |
greater than | is numerically larger |
greater than or equal | is larger or equal |
less than | is numerically smaller |
less than or equal | is smaller or equal |
is empty | has no value |
is not empty | has any value |
Examples
Show “Sealant colour” when
MaterialisPremium
Require “Site contact” when the running total greater than
500
Hide “Express add-on” when
DeliveryisStandard
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.