Skip to main content

Boolean

Boolean fields store true/false values for flags and toggles.

View all settings
SettingDescription
Field NameText input, required. Unique identifier for the field.
Input TypeDropdown, required. Choose Active/Inactive, Checkbox, Toggle, or Yes/No.
Default ValueDropdown. Select True or False.
Display LabelText input. Human-readable label shown in forms.
Sort OrderNumber input, defaults to 0. Position in field lists.
IconIcon picker. Visual identifier.
StatusToggle, defaults to true. Enable or disable the field.
RequiredCheckbox. Make the field mandatory.
DescriptionText area. Documents the field's purpose.
Form VisibilityDropdown. Show in Add, Edit, or Both forms.
DB Field NameText input. Custom database column name.
Faker TypeDropdown. Generate test data.
Use as IndexCheckbox. Create database index for performance.
Populate from Logged-In UserCheckbox. Auto-fill from user session.

Input Types

  • Active/Inactive — Shows "Active" or "Inactive" labels in the UI
  • Checkbox — Standard checkbox input, displays as checked/unchecked
  • Toggle — Modern switch UI, ideal for settings and preferences
  • Yes/No — Shows "Yes" or "No" labels in the UI

When to Use

Choose Boolean when:

  • You need a simple yes/no, true/false, or on/off value
  • The field represents a flag, toggle, or status
  • There are exactly two possible states

Settings

See Common Settings for shared options.

Not available: Primary Key, Unique

Default Value (Basic Settings)

Dropdown with options True or False. Unlike text fields, Boolean defaults are selected from a dropdown rather than typed.

Use Cases

  • Feature flags and toggles (is_active, is_published)
  • User preferences and settings
  • Status indicators (verified, approved)
  • Permission flags (can_edit, is_admin)