Skip to main content
CalcBuilder logo

CalcBuilder Tutorial

Calc Builder field type: Yes / No

Yes / No is a single check-box. Ticked returns Y, unticked returns an empty value.

A Yes / No check-box.
A Yes / No check-box.

In code

if ($newsletter === 'Y') {
    $discount = 5;
}

Use it for opt-ins, “include VAT”, “add insurance” and similar on/off switches.

Part of the Form Fields reference. All types are demonstrated together in the Field Types Showcase.

...
CalcBuilder

Create dynamic calculators

Buy now!
...
Support/development 40 hours

With the peace of mind of having a professional team at your service (20% discount)

Buy now!