Fields

The main object type in Fieldmanager. Fields can be text fields, checkboxes, radio buttons, select dropdowns, etc.

Base Classes

Field

Every Field is an extension of this object. Fieldmanager_Field is not intended to be instantiated directly.

Group

A group is a set of one or more fields. This allows you to create e.g. one meta box with many fields in it, create repeatable or sortable sets of fields, create tabbed interfaces, and more.

Options

Some fields are collections of many pre-set values, like select dropdown options, radio buttons, and checkboxes. These field types extend Options, so Fieldmanager knows how to handle and sanitize them.

Field Types

Autocomplete

Text fields that responds to user input with autocomplete suggestions (optionally via an ajax request).

Checkboxes

A set of multiple checkboxes which stores as an array of the checked values.

Datepicker

Text fields that uses the jQuery UI Datepicker to allow the user to select a date from a calendar. Optionally adds fields for time.

Grid

Data grids (spreadsheets).

Link

Text fields that sanitize values as URLs.

Media

Allow users to select an attachment via the Media popup.

Password

Password text fields (hides user input).

Radios

A set of radio buttons. Often accompanied by a datasource to populate the radio buttons.

TextArea

Textarea (multi-line text) fields.