Field Types

OpenFields supports 23 field types to cover all your content needs.

Basic

Texttext

Single line text input

Textareatextarea

Multi-line text area

Numbernumber

Numeric input with validation

Emailemail

Email input with validation

URLurl

URL input with validation

Date Pickerdate

Date selection

Date Timedatetime

Date and time selection

Timetime

Time selection

Color Pickercolor

Color selection

Linklink

URL with title and target

Content

WYSIWYG Editorwysiwyg

Rich text editor

Imageimage

Single image upload

Gallerygallery

Multiple image gallery

Filefile

File upload

Choice

Selectselect

Dropdown selection

Radioradio

Radio button group

Checkboxcheckbox

Checkbox group

Switchswitch

True/False toggle

Relational

Post Objectpost_object

Select WordPress posts

Taxonomytaxonomy

Select taxonomy terms

Useruser

Select WordPress users

Layout

Repeaterrepeater

Repeatable sub-fields

Groupgroup

Group fields together

Using Fields

All fields are configured in the OpenFields admin interface. Once saved, retrieve values using the API functions.

Each field type has its own settings like placeholder text, default values, validation rules, and display options. Configure these when adding a field to your field group.