Skip to content

Fields ​

Fields are what a record is actually made of. A Deal's amount, a Contact's email, a Case's priority: each of those is a field. This guide covers the different kinds of fields Cubrel supports, what you can configure on each one, and how to create, edit, and remove them.

For how modules and fields fit together, see the Modules guide.

The fields every module already has ​

Every module, built-in or custom, comes with five fields you never need to add yourself: Name, Description, Owner, Created At, and Updated At. These can be hidden from a layout if you don't want them shown, but they can't be deleted; they exist on every record for consistency. Every module also records Created By and Updated By, which Cubrel fills in by itself.

Modules with line items (quotes, orders, invoices, and any custom module you've turned line items on for) also get four extra fields you don't create yourself: Subtotal, Discount Amount, Tax Amount, and Total. These are calculated automatically from the line items on the record, so they're always read-only. See Line Items.

Field types ​

When you create a field, you choose one of these types:

TypeWhat it holds
TextA single line of text.
Long TextA multi-line block of text.
Number, Integer, DecimalNumeric values.
CurrencyA monetary amount, shown formatted using your workspace's currency setting.
PercentageA number between 0 and 100.
EmailAn email address, checked for a valid format.
PhoneA phone number, checked for a valid format.
URLA web address.
IBANA bank account number, checked for a valid format and checksum.
DateA calendar date.
Date & TimeA calendar date with a time of day.
CheckboxA simple yes/no toggle.
SelectA single choice from a plain list of options you define.
StatusA single choice from a list of options, each with its own color and optional icon, shown as a colored badge instead of plain text.
Related RecordA link to a record in another module (for example, a Case field that points at a Contact).
AddressA structured address made up of street, postal code, city, state, and country.
ImageAn uploaded image (JPEG, PNG, WEBP, or GIF, up to 10 MB).
FileAn uploaded document, such as a PDF, an Office file, or a spreadsheet, up to 10 MB. Files are private: only signed-in users can download them.
Multi ValueA list of short entries, such as several email addresses. Type an entry and press Enter or a comma to add it; remove one with Backspace or a click.

One more type appears on stock fields but can't be created: Duration, a length of time in minutes, shown like 1h 30m. It's calculated, for example from a meeting's start and end, and can't be typed in.

Select vs. Status ​

These two look similar, since both give you a dropdown of choices, but Status is the richer of the two. A Status field's options each get their own text color, background color, and (optionally) an icon, so the value renders as a colored badge on the record. A Select field's options are plain text with no color or icon. Use Status for things like a pipeline stage or a priority level, where color-coding helps at a glance; use Select for a plain list of choices where that isn't needed. See Dropdown Lists.

A Related Record field links to another module; you pick which module it points to when you create the field. This is different from a relationship: a relationship connects two modules generally and shows up as a panel on the Related tab, while a Related Record field is a single field on a record pointing at one specific linked record (for example, a Task's "Related To" field).

Address fields ​

An address field stores five pieces of information together as one field: street, postal code, city, state, and country (country is picked from a searchable list of countries). On the record page it displays as a multi-line formatted address with a button to copy it to the clipboard; in list and table views it condenses to a single line.

What you can configure on a field ​

Every field has a few settings you can turn on or off, regardless of its type:

SettingWhat it does
RequiredThe field must have a value before the record can be saved. (Not available on Checkbox fields.)
ReadonlyThe field can't be edited from the record form, useful for fields you want to fill in some other way.
HiddenThe field is hidden from layouts, but its data is preserved.
SearchableThe field is included in search. See Search.
FilterableThe field can be used to filter a list view.
SortableThe list can be sorted by this field's column.

Some settings only exist for certain types:

SettingTypesWhat it does
Regex PatternText, Long TextA regular expression the whole value must match, such as [A-Z]{2}-\d{4} for an order number like AB-1234.
Minimum Value, Maximum ValueNumber, Integer, Decimal, Currency, PercentageThe smallest and largest value allowed. Leave one empty to set only the other.
Default ValueAll types except Image and FileThe value a new record gets when the field is left empty.

Cubrel checks every value on save, wherever it comes from: the record form, inline editing, a bulk update, an import, a workflow, Ask Cubrel, or the REST API. A required field must be filled, an email must look like an email, a number must be a number, a Select or Status field only accepts its own options, and a pattern or value range must be met. Problems show right under the field.

A record saved before you added a pattern or range keeps its value. The rule applies the next time someone changes that value.

Default values ​

The default is filled in when a record is created and the field is empty, on every way of creating records. The create form shows it already filled in. After the record is created, the field can be changed or cleared like any other.

A readonly field gets its default too, which is a way to give it a fixed starting value. The create form shows it filled in but locked, and it can't be changed from the record form afterward. A readonly date worked out from another field shows empty on the create form and is filled in when the record is saved. The record number field has no default: it always gets the next number.

A field hidden by its conditional visibility with Clear the value when this field is hidden turned on gets no default while it stays hidden.

  • Select and Status: one option of the field's list.
  • Checkbox: on or off.
  • Related Record: a record of the related module.
  • Address and Multi Value: entered with the field's own input.
  • Date and Date & Time: a fixed date, or a date worked out when the record is created: now, today, tomorrow, yesterday, or another date field of the same record, plus or minus a number of minutes, hours, days, weeks, or months. For example, "Start plus 1 hour" for a meeting's end. If that other field is empty, the default stays empty.

Showing a field only when it applies ​

Turn on Conditional Visibility to show a field only while other fields have certain values, such as a Lost Reason that appears only for lost deals. See Conditional Fields.

Fields left out of bulk updates ​

A few stock fields can't be changed with a bulk update from the list view, because setting one value on many records makes no sense for them: the opened and closed dates of cases, the order and due dates of orders, and the start and end of meetings. They're left out of the field picker.

Creating and editing fields ​

Where you manage fields depends on whether the module is brand new or already live:

  • While building a new module, fields are added on the "Fields" step of the Module Builder. These become permanent, built-in fields of the module once it's deployed.
  • On a module that's already live, fields are managed from Workspace > Modules Manager > [module] > Fields. Fields you add here work exactly like any other field: they show up in layouts, are searchable and filterable if you mark them so, and behave identically to a field that shipped with the module.

New field names can't collide with the five universal fields, or with the line-item fields if the module has line items enabled.

What can't be changed after creation ​

A field's name and type are locked in permanently once the field is created. There's no way to rename a field's internal identifier or convert it from, say, Text to Number after the fact. If you need a different type, create a new field and remove the old one.

Everything else can be changed at any time: the display label, all of the settings listed above (required, readonly, hidden, searchable, filterable, sortable, default value, conditional visibility), and, for Select and Status fields, the list of options itself, including a Status option's color and icon.

Deleting a field ​

Only fields you added yourself can be deleted. Fields that shipped with a module (the five universal fields, and any other built-in field) can't be deleted, only hidden from layouts.

Before deleting a custom field, Cubrel tells you how many existing records currently have data in it. Deleting the field doesn't erase that data from the database, but it does mean the data is no longer visible or editable anywhere, and this can't be undone. Any layout referencing the field (list, record, or linking-panel layouts) has it removed automatically, so you won't end up with a layout pointing at a field that no longer exists. Conditions of other fields that depended on it are removed too.

In short ​

QuestionAnswer
Can I remove one of the five universal fields?No, hide it from a layout instead.
What's the difference between Select and Status?Status options carry a color and icon and render as a badge; Select is plain text.
Can I change a field's type after creating it?No, create a new field instead.
Can I rename a field's label after creating it?Yes, any time.
Can I delete a built-in field?No, only custom fields can be deleted.
What happens to a record's data when I delete its custom field?It's kept in the database but no longer shown or editable, and deleting the field can't be undone.
Are readonly/hidden per-user or per-role?No, they apply to everyone who can see the module.
Can a field show only in some situations?Yes, with Conditional Visibility.