Fields

What is a field?

A field is a building element of a content type and an entry that has a defined format and customizable settings. There are various standard types of fields in Contentful, e.g. text fields, media fields, and reference fields that have various custom settings to be applied to them.

Field types

A field type defines what type and format of content can be entered in the field in the entry editor.

The table below provides explanations about the different field types that you can add to your content type and how they can be used:

Name of field type

How to use field type

Rich text

Rich text editing. You can have editing options in it and embed entries or assets directly into the field.

NOTE: Ensure to select the embedded entry type and make all other necessary configurations as required by your frontend implementation. With no validations set up, the editors can use all the options without any limitations.

Text

Plain text. You can select between Long and Short text options.

Number

Number values, e.g. price, ratings, length, pixels, spacing etc.

Date and time

Date, time, and timezone data.

Location

Information on geo-coordinates or location.

Media

Adding images to your entry field through assets.

Boolean

Enabling an editor to select one of the two options. For example, this field can be used for NoFollow or NoIndex tags.

JSON

JSON object. This field is helpful for apps.

Reference

Link entries or assets to your entry. To learn more, see References.