DocsOFormsField Types Reference
Building Forms

Field Types Reference

OFormsorravo.com/docs/oforms/field-types

Field Types Reference

Standard Fields

TypeConfig Keys
textlabel, placeholder, required, max_length, default_value
emaillabel, placeholder, required, confirmation (show confirm field)
phonelabel, placeholder, required, format (any/intl/us)
numberlabel, placeholder, required, min, max, step
datelabel, required, min_date, max_date, date_format
timelabel, required, format (12h/24h)
textarealabel, placeholder, required, rows, max_length
selectlabel, required, choices (array), multiple, allow_other
radiolabel, required, choices (array)
checkboxlabel, choices (array), required_count (min selections)
togglelabel, on_label, off_label, default
filelabel, required, accept (mime types), max_size_mb, max_files
hiddenname, value (supports merge tags)
htmlcontent (static HTML between fields)
section_breaktitle, description (visual separator)
page_breaknext_label, back_label (multi-step pagination)
honeypotNo config — auto-inserted invisible CAPTCHA field

Field Config Keys (all fields)

php[
    'id'          => 'field_abc123',   // auto-generated
    'type'        => 'text',
    'label'       => 'Full Name',
    'name'        => 'full_name',      // used as entry key and merge tag
    'required'    => true,
    'placeholder' => 'Enter your name',
    'css_class'   => '',
    'conditions'  => [],               // conditional logic rules
]
Field Types Reference — OForms Docs — Orravo