Skip to content

Commit 9bde37d

Browse files
committed
Alternate field type “discovery” tool
1 parent d1cd86d commit 9bde37d

File tree

1 file changed

+91
-2
lines changed

1 file changed

+91
-2
lines changed

docs/5.x/reference/field-types/README.md

Lines changed: 91 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,99 @@ Craft has over 20 built-in field types that help create tightly-tailored authori
3434
| [Money](money.md) | Store a value in a specific currency. |
3535
| [Multi-Select](multi-select.md) | Choose one or more options via a tag-like [Selectize](https://selectize.dev/) input. |
3636
| [Number](number.md) | Store a numeric value. |
37-
| [Plain-Text](plain-text.md) | Basic input for any kind of textual value. |
38-
| [Radio-Buttons](radio-buttons.md) | Choose one option from a predefined list. Equivalent to the _Dropdown_ field. |
37+
| [Plain Text](plain-text.md) | Basic input for any kind of textual value. |
38+
| [Radio Buttons](radio-buttons.md) | Choose one option from a predefined list. Equivalent to the _Dropdown_ field. |
3939
| [Range](range.md) | Pick a number with a visual slider. |
4040
| [Table](table.md) | Store repeating rows of simple values. |
4141
| [Tags](tags.md) | Relate [tag](../element-types/tags.md) elements. |
4242
| [Time](time.md) | Choose a time _without_ a date. |
4343
| [Users](users.md) | Relate [user](../element-types/users.md) elements. |
44+
45+
## Data Types
46+
47+
Not sure which field type to use? This list is organized by the types of values that each field stores. Each field may appear in multiple groups!
48+
49+
### Text
50+
51+
Arbitrary and predefined strings.
52+
53+
- [Plain Text](plain-text.md) — Single- or multi-line text of any length.
54+
- [Dropdown](dropdown.md) — A fixed set of options to choose from.
55+
- [Radio Buttons](radio-buttons.md) — Same as a dropdown, but allows “custom” values.
56+
- [Country](country.md) — A specific set of values used to populate addresses.
57+
58+
### Booleans
59+
60+
On or off; yes or no; 1 or 0; true or false!
61+
62+
- [Lightswitch](lightswitch.md) — A single on/off switch.
63+
- [Checkboxes](checkboxes.md) — Capture multiple binary settings at once.
64+
65+
### Numbers
66+
67+
- [Money](money.md) — A safer way to store currency values.
68+
- [Number](number.md)
69+
- [Range](range.md)
70+
71+
### Date + Time
72+
73+
- [Date](date-time.md)
74+
- [Time](time.md)
75+
76+
### Lists
77+
78+
Sometimes, you need more than a single value!
79+
80+
- [Checkboxes](checkboxes.md)
81+
- [Matrix](matrix.md)
82+
- [Multi-Select](multi-select.md)
83+
- [Table](table.md)
84+
85+
::: tip
86+
Most of the fields in the [references](#references) section allow you to attach multiple relationships, as well.
87+
:::
88+
89+
### References
90+
91+
Create relationships to content, on- or off-site.
92+
93+
- [Link](link.md)
94+
- [Assets](categories.md)
95+
- [Categories](categories.md)
96+
- [Entries](entries.md)
97+
- [Tags](tags.md)
98+
- [Users](users.md)
99+
100+
### Taxonomies
101+
102+
Organize content
103+
104+
- [Categories](categories.md)
105+
- [Entries](entries.md)
106+
- [Tags](tags.md)
107+
108+
::: tip
109+
You can even attach fields to the elements you relate via these fields!
110+
:::
111+
112+
### Media
113+
114+
Upload and attach files.
115+
116+
- [Assets](assets.md)
117+
118+
### Structured
119+
120+
Manage nested data.
121+
122+
- [Addresses](addresses.md)
123+
- [Matrix](matrix.md)
124+
- [Table](table.md)
125+
126+
### Fun + Cosmetic
127+
128+
Spruce up the authoring experience with these dedicated UIs.
129+
130+
- [Color](color.md)
131+
- [Icon](icon.md)
132+
- [Money](money.md)

0 commit comments

Comments
 (0)