Skip to content

Collections & Fields ​

A collection is one kind of record your app keeps: customers, products, orders. Its fields are the pieces of information each record holds, the way a spreadsheet's columns are. Open a collection's Fields tab and click Add Field to add one. Every field has a Key (its internal name, can't be changed later), a Label (what people see), and a Type, plus type-specific options.

Here is the Fields tab of an Orders collection. Each row is a field, with its label, its key, flags such as required, label and computed, and its type on the right. Drag the handle on the left to reorder them, the pencil to edit one, and the bin to remove it:

The Fields tab of an Orders collection, listing Order, Customer, Product, Quantity, Total, Status, Date and Notes with their types

Click the pencil on a field (or Add Field) to open its editor. The top holds the key, label, type and description, then the options for that type:

The Add Field dialog, with key, label, type and description

The Type dropdown lists every kind of field you can add:

The field type list in the Add Field dialog

Field types ​

TypeUse forNotable options
Text / Long TextShort or multi-line textmin/max length, placeholder, optional QR/barcode scan button
NumberPlain numbersmin, max, step, prefix/suffix, decimal places
PriceCurrency-formatted numberscurrency code, decimal places
BooleanA yes/no answer, entered as a toggle, tabs or a dropdownHow it's entered, and a label for true and one for false (e.g. Paid / Unpaid)
Date / Date & Time / TimeDate and time valuesNone
EnumA dropdown of fixed, labeled, colour-coded options, pick oneadd/remove options
Multi-EnumThe same fixed options, but pick several ("tick all that apply")add/remove options
ReferenceA link to one record in another collectiontarget collection, which field to display, search field, an optional barcode-scan search, "distinct" (each record can be picked only once)
Multi-ReferenceLinks to several records in another collectionsame options as Reference (including "distinct")
Image / FileUploaded mediaaccepted file types, max size, allow multiple
GeolocationA GPS coordinate, captured from the deviceNone
AddressA postal addressNone
Phone NumberA phone number, with a searchable country-code pickerdefault country code
List (virtual)A live, computed list of related recordssource collection, display field, sort
Complete ListAn embedded mini-table of related records, rows are clickablesource collection, which columns to show, sort
Drawing / SignatureA signature or sketch pad, stored as an imagestroke colour/width, background colour, max size
Barcode / QRDisplays a barcode or QR code rendered from the field's valueformat (QR, CODE128, EAN-13, UPC), render size
TableAn embedded mini-table for structured sub-data you type in yourselfcolumns (key + header)

For the exact JSON behind every type and its options, see the Schema Reference.

Choosing from a fixed list (Enum) ​

An Enum gives people a dropdown of options you set. Each option has a Value (stored), a Label (shown) and a colour, and the colour carries through to badges in tables, cards and boards. Use Fill from a list to paste many at once. The same editor shows the field's Initial value, here ENUM("orders", "status", "new"), which makes every new order start as New.

The Status field's editor, showing four options (New, Baking, Ready, Delivered) each with a colour, the Required switch and an initial value

Linking to another collection (Reference) ​

A Reference field points at a record in another collection, so an order can say which customer and which product it is for. Pick the target Collection and the Display field that names each record in the dropdown. You can also choose a search field, a barcode search, and Distinct so each record can be picked only once.

The Customer field's editor, with the type Reference, the Select and Tabs choices, the target collection Customers and the display field Name

Scroll down for the search field, the picture to show beside each name, the Distinct switch and the flags (Required, Read only, Is label field):

The lower half of the Customer field's editor, with Search field, Distinct, the three flags, the Computed switch and Initial value

Adding a new record from a reference picker ​

A Reference or Multi-Reference dropdown ends with an Add new button, for example Add new Customer (it uses the field's label). It also shows when a search finds nothing.

The Customer dropdown on a new order, listing six customers and ending with an Add new Customer button

Pressing it opens the create form for the collection the field points at, in a dialog over the form you're filling in:

The New Customer dialog over the new order form, with Name, Phone, City and Joined fields and Cancel and Save buttons

When you save, the new record is added to the list and picked for you, and you carry on where you were. The button shows only for people whose role can create in that collection, never on a read-only field, and never for the people (user profile) collection, the app's settings, or a system collection.

The list on the other side of a reference ​

When you add a Reference field, the collection it points at automatically gets a Complete List of the records that point back at each of its records. Add a group reference to items, and each group shows its items. You don't write the formula: it's REF_ROWS("items", "group"), filled in for you, and the list gets its own half-width section on the group's detail page, above any Actions section. The list shows the item's label field and a few other readable fields (never the reference back to the group, long text or pictures); you can change its columns like any Complete List.

Under the list is an Add button (for example Add Item). It opens the new-item form as a dialog with the reference already filled in, so the item you add belongs to the group you are looking at. It is an ordinary button on the group, so you can rename it, restyle it, limit who sees it with an Only if formula, or point it at a different form, and people only see it if their role may create items.

  • It follows the reference. Delete the reference field, change it to another type, or point it at a different collection, and the list and its Add button are removed from the old collection (and from every view and detail section that showed them; a section left empty is removed too). A button you have changed so it no longer prefills that reference is treated as your own and is left alone. Pointing the reference at another collection gives that one the list instead. Deleting a whole collection removes the lists other collections kept of it. The builder tells you each time it adds or removes one.
  • It never duplicates. If the collection already has a list for that reference, written by you or by the AI builder, nothing is added.
  • It only happens when you change a reference field. Existing apps, imports and AI-built schemas are left exactly as they are.
  • It's yours to change. Rename it, move its section, or delete it. It isn't added again unless you change the reference. If a formula elsewhere reads that list, deleting the reference field warns you first, as it does for any field that formulas use.
  • A multi-select reference doesn't get one. The list matches a single reference only.
  • A collection that points at itself (a folder with a parent folder) gets a "children" list, and two references from one collection to the same target get one list each, named after the reference.

Computed fields ​

Turn on Computed and a field's value is calculated from a formula instead of typed in. It recalculates every time it's shown, and whatever's typed into the underlying field (if anything) is ignored. A computed field can:

  • Reference other fields on the same record: MULTIPLY({quantity}, {unit_price})
  • Follow a reference field: {product.name}
  • Look at other records live: COUNT(COLLECTIONSELECT("orders", 'EQUAL({customer},{_THISRECORD.id})'))

See Expressions for the full formula reference.

Here the Total of an order is a price field, set to Computed, with the formula MULTIPLY({quantity},{product.price}): the quantity times the price of the chosen product. Computed fields are Read only, so nobody types over them:

The Total field's editor, with currency NGN, the Read only switch, Computed switched on, and the formula MULTIPLY({quantity},{product.price})

On the order itself the total is simply there, worked out from the other two:

An order's detail view showing the customer, product, quantity 1 and the computed total of 12,000 naira

Initial value ​

A field can have an initial value: a formula that runs once when the create form opens, to pre-fill it. Common examples: NOW() for a created-at timestamp, 0 for a starting quantity, or UNIQUECHAR("alphanumeric", 6) for a short random reference code.

To start every new record on a particular option of an enum, use ENUM: ENUM("orders", "status", "Pending") makes every new order begin as Pending. The person filling in the form can still change it, and ENUM checks the name against the field's real options, so a typo or a renamed option can't slip through.

Description ​

A field's optional description is help text. In a questionnaire view, the description is shown as the question itself (falling back to the label when there's none), so write the full question there and keep the label short.

Show and validate ​

Two more optional, formula-driven behaviours live on every field:

  • Show field only if: hides the field (and clears its value, unless it's computed) when the formula is false. Good for "only show this if the record is in a certain state": a Payment reference field with EQUAL({status}, "Paid") appears only once the status is Paid, and disappears again, with anything typed into it, if the status changes back. Only hide what people don't need, because a hidden field loses its value.
  • Valid if: marks the field invalid on submit if the formula is false, with an optional custom error message. It is checked when the form is submitted and then live as the value is edited. GT({amount}, 0) on an Amount field flags -5 as invalid. Without a custom message, the field shows "Invalid value."

Both live in the Form behaviour section at the bottom of a field's editor, under the computed and initial value settings:

The lower part of a field's editor, scrolled to the flags, Computed, Initial value and Show field only if and Valid if formula boxes

Both formulas are evaluated against the record being filled in, so they can read any other field on it. Try a formula in the Query Editor first, then paste it in.

Flags ​

When a Required field is left empty, the form refuses to save and points at it:

The new order form after pressing Save with the Order field empty, with a "Please fill out this field." message

The form people fill in is built from your fields, in the order you listed them:

The new order form: Order, Customer, Product, Quantity, Status, Date and Notes

  • Required: can't be left blank.
  • Read only: shown, but can't be edited on the form.
  • Is label field: one per collection. Its value is used whenever the record needs a short, recognizable name, in a reference picker's dropdown, for instance. Usually a name or title field.

Released under no license yet — internal product, pre-launch.