Skip to content
MyAppBuilder
StableField type

Yes / No

Overview

A simple on/off value: active, paid, confirmed, newsletter opt-in.

Purpose

Flags and switches. Tables show a green “Yes” badge or a grey “No”; filters and visibility rules can test it directly (Paid is true).

Inputs

  • Fits the Checkbox and Toggle inputs.

Configuration

  • Options on every editable field: Required, Unique (no duplicates) (checked case-insensitively against existing records), Description (shown to teammates and the AI), a default value and a custom validation message that replaces the standard one.
  • Set a Default value (usually false) so new records always have an explicit value.
  • For three or more states (pending / approved / rejected) use Single select instead.

Outputs

  • Stored as true or false. Text such as yes, on, 1 or true (from CSV imports) is read as true; anything else as false.

Example

Paid flag

Example
Field: Paid · Type: Yes / No · Default value: false
Example value: true  →  shown as a “Yes” badge

Errors

  • None — any input is converted to true or false.

Limitations

  • Required on a Yes / No field only ensures a value exists; it does not force “yes”.

Advanced

  • Coercion: value === true || value === "true" || value === "1" || value === 1 || value === "on" || value === "yes".

Related

Was this helpful?