Adding a field
- Open the Collection, go to its settings, and choose the Fields tab.
- Click Create Custom Field.
- Type a Display Label — the wording people see on forms and tables, e.g. “Warranty End Date”.
- Check the Field Key underneath. It is generated from your label (
warranty_end_date) and you can edit it. It is validated as you type, and the form shows you the binding it produces:{{ item.warranty_end_date }}. - Choose a Field Type. See Custom Field Types for what each one gates.
- Set the options you need — Required, and for a List field Multiple Values and Allow New Values. If the type is Text or List you can author its Allowed Values here too; if it is UUID you can set up its reference configuration.
- Click Create Field, then Save changes on the settings form. The field is not stored until you save.
Field key rules
The key is what you write in bindings and conditions, so it is deliberately strict:- lowercase letters, numbers, and underscores only,
- between 2 and 64 characters,
- no leading, trailing, or repeated underscores,
- not a core field name (
name,item_id,description,tags), - not a name QRtub uses internally (
id,created_at,updated_at,image,destination_urland similar), - not a programming keyword such as
class,function, orreturn, - unique within the Collection.
status_2, for instance. Because the label auto-generates the key, most of the time you
never type one.