Custom Fields

Custom fields are the building blocks of your content types. Meshbase offers a variety of field types to capture different kinds of data.

Available Field Types

Text

Single-line text input for short strings like titles, names, or labels.

Use cases: Titles, names, slugs, short descriptions

Rich Text

WYSIWYG editor for formatted content with headings, lists, links, and more.

Use cases: Blog content, articles, descriptions, documentation

Number

Numeric values with optional decimal support and min/max constraints.

Use cases: Prices, quantities, ratings, scores

Boolean

True/false toggle for binary states.

Use cases: Featured flags, published status, visibility toggles

Date & DateTime

Date picker for calendar dates or timestamps with time.

Use cases: Publication dates, event times, deadlines

Media

Upload and link images, videos, documents, and other files.

Use cases: Featured images, galleries, attachments, videos

Relation

Link to other content types (one-to-one, one-to-many, many-to-many).

Use cases: Authors, categories, related posts, tags

JSON

Store structured data as JSON objects for flexible schemas.

Use cases: Custom metadata, settings, configurations

Field Configuration Options

Required

Mark fields as required to ensure they must have a value before saving.

Unique

Enforce uniqueness across all entries (useful for slugs, email addresses).

Default Value

Set a default value that will be used when creating new entries.