Edit on GitHub
Jump to docs navigation

User Manual / Field types

Note: You are currently reading the documentation for Bolt 4.0. Looking for the documentation for Bolt 5.2 instead?

Text and HTML fields

Text


A normal text input, often used for titles, short captions and alike.

Textarea


A longer text input, often used for text that should be unstyled and 1 - 5 paragraphs in length.

Markdown


A Markdown field. Markdown allows you to write using an easy-to-read, easy-to-write plain text format, which then converts to valid HTML for viewing on the frontend. Often used when text needs minimal custom styling but still needs to be able to be sectioned or formatted. Highly reccomended if you feel comfortable using it.

HTML


A WYSIWYG field that allows greater freedom to edit styling and presentation of text. Often used for the body of a page or article. Features of the WYSIWYG can be turned on or off in the Main configuration.

Date Field

Date


A field for a single date with or without time. See https://docs.bolt.cm/4.0/fields/date#jumpbutton for options

Media fields

Image


A field for a single image, allows for them to be uploaded, selected from the server or selected from the stack. Optionally can include alt and title attributes.

Imagelist


A field for multiple images, with the same ways to add images as the image field. Also allows for a line of text to be attached to each image.

File


A field for a single file, allows for them to be uploaded, selected from the server or selected from the stack.

Filelist


A field for multiple files, with the same ways to add files as the file field. Also allows for a line of text to be attached to each file.

Embed


A field for embedding videos and other content from websites like Youtube and Vimeo. Also allows selection of size of the video and previewing of it.

Number-based fields

Checkbox


A field to store "True or false" type values. Internally stored as either 1 for true if the checkbox was checked, and 0 for false if it wasn’t checked.

Number (mode: integer)


A field to store whole numbers. The value must be between -2147483648 and +2147483647. Often used for storing things like prices of products.

Number (mode: float)


A field to store decimal numbers. Internally stored so that they can be sorted numerically.

Select fields

Select


A drop-down list to make a pre-defined selection from. There are two ways of specifying the list of available options. Either predefined options or by selecting from a ContentTypes records.

Multiselect


A selectfield that allows for multiple items to be selected.

Bolt-specific fields

Templateselect


Allows one to choose a specific template for each particular record. Can add additional fields by using the feature "Template specific fields".

Slug


This field will determine what "slug" or permalink is used for accessing the record on the frontend.

Meta information

This section will be present in all ContentTypes and allows for a few different options:


Publication date

This will determine when the record will be published if used in conjuction with the status "Timed publish".

Depublication date

This will allow for the record to be depublished after a certain date and time.

Status

This allows you to decide the status of the record. The choices are:

  • Published
  • Held
  • Draft
  • Timed publish

Relations and taxonomy

Relations


Relations allows you to tie a record to another record of either the same or a different ContentType for usage in your templates. An example of this is often seen on ecommerece websites that have a "related products" section.

Taxonomy


Taxonomy allow you to categorize your record with different types of taxonomy set up in your taxonomy file. There are three different types of taxonomy:

  • tags - Tags are a sort of ‘freeform’ labeling. Each record can have several tags, that do not have to be selected from a predefined list. Just add tags, as you go! Examples of websites that use tags extensively are Flickr or Delicious. The taxonomy can be set up to allow spaces in tag names or not.
  • categories - Categories are chosen predefined categorizations for your record. These are often found on weblogging sites, to define the different types of blogpostings. The taxonomy can be limited to either one or more categories for each record.
  • grouping - Grouping is like categories but it is - by definition - more strict. When a grouping applies to a certain record, that record should be viewed as a part of the other records with the same grouping. As such, a record can have only one ‘grouping’ at most.


Edit this page on GitHub
Couldn't find what you were looking for? We are happy to help you in the forum, on Slack or on Github.