Field types

All available field types

Here is the full list of available field types:

Input type: Google Maps/ OSM map

Allowed values: any

Validation: address

Displayed as Google Maps/ OSM map

Input type: checkbox

Allowed values: the specified options

Validation: is an allowed value(s)

Displayed as: list

Input type: colopicker

Allowed values: any

Validation: exadecimal code

Displayed as: color circle

Input type: country picker

Allowed values: the specified options

Validation: is an allowed value

Displayed as: string

Input type: number + select

Allowed values: integer

Validation: integer

Displayed as: text

Input type: input date

Allowed values: date

Validation: date (format YY-mm-dd)

Displayed as: string

Datetime

Input type: daterange (js)

Allowed values: date

Validation: date (format YY-mm-dd)

Displayed as: string

Input type: input datetime

Allowed values: datetime

Validation: date (format YY-mm-dd HH:ii:ss)

Displayed as: string

Editor

Input type: TinyMCE editor

Allowed values: any

Validation: none

Displayed as: string

Email

Input type: email

Allowed values: email

Validation: email

Displayed as: string

Embed

Input type: embed field

Allowed values: resource url

Validation: embeddable url

Displayed as: iframe

File

Input type: WP Media

Allowed values: resource url

Validation: none

Displayed as: link

Flexible field

Input type: custom

Allowed values: meta field block

Validation: meta field

Displayed as: none

Input type: WP Media

Allowed values: resource urls

Validation: none

Displayed as: images

Input type: HTML editor

Allowed values: any

Validation: none

Displayed as: string

Height

Input type: number + select

Allowed values: integer

Validation: integer

Displayed as: string

Input type: Icon picker

Allowed values: svg

Validation: none

Displayed as: svg

Input type: WP media

Allowed values: string

Validation: none

Displayed as: image

List

Input type: multiple input text

Allowed values: any

Validation: none

Displayed as: string | html

Input type: number

Allowed values: integer

Validation: integer

Displayed as: string

Input type: phone

Allowed values: integer

Validation: integer

Displayed as: string

Post

Input type: select

Allowed values: a valid post ID

Validation: integer

Displayed as: string

Post multi

Input type: select multi

Allowed values: a valid post ID(s)

Validation: integer

Displayed as: string

Input type: radio

Allowed values: the specified options

Validation: is an allowed value

Displayed as: string

Range

Input type: range

Allowed values: the specified options

Validation: is an allowed value

Displayed as: string

Input type: stars selection

Allowed values: the specified options

Validation: is an allowed value

Displayed as: string | html

Input type: repeater

Allowed values: a valid meta field

Validation: meta field

Displayed as: string

Input type: relational

Allowed values: the specified options

Validation: a valid WordPress entity

Displayed as: string

Input type: select

Allowed values: the specified options

Validation: is an allowed value

Displayed as: string

Input type: select multi

Allowed values: the specified options

Validation: is an allowed value

Displayed as: string

Term

Input type: select

Allowed values: a valid term ID

Validation: integer

Displayed as: string

Term multi

Input type: select

Allowed values: a valid term ID(s)

Validation: integer

Displayed as: string

Input type: text

Allowed values: any

Validation: none

Displayed as: string

Input type: text

Allowed values: any

Validation: none

Displayed as: string

Time

Input type: time

Allowed values: time

Validation: time

Displayed as: string

Toggle

Input type: checkbox

Allowed values: 1/0

Validation: boolean

Displayed as: number | svg

Input type: url + text

Allowed values: any

Validation: url

Displayed as: string | html

User

Input type: select

Allowed values: a valid user ID

Validation: integer

Displayed as: string

User multi

Input type: select

Allowed values: a valid user ID(s)

Validation: integer

Displayed as: string

Video

Input type: WP media

Allowed values: any

Validation: url

Displayed as: string | html

Weight

Input type: number + select

Allowed values: integer

Validation: integer

Displayed as: string

Last updated