Skip to main content
The Random field generates a random string once per record, drawn from the character sets you turn on. The value is generated for you, so submitters never type it.
Random is a computed field. Its value is system-generated, the field is always required, and it does not appear as an input a submitter can fill in.

When to use it

Reach for Random when you want an unpredictable token on each record:
  • Access codes, opaque references, or sample identifiers.
  • A short random segment to fold into a Concatenation field.
  • A value where a sequential number would be too easy to guess and a Terminus ID’s fixed shape is not what you want.
Do not use Random when you need a guaranteed-unique value. Random does not check for collisions. Use Terminus ID for a system-unique handle, or Auto Number for a guaranteed-distinct sequence.

How it works

The first time you submit a record, the field generates a string of Length characters using the character sets you enabled, then keeps that value for the life of the record. It is not re-rolled when you edit or re-save the record later.

Settings reference

At least one of Include Numbers, Include Lowercase, and Include Uppercase must stay on, so the editor locks the last one that is on.

Example

An Access Code field on a Passes taxonomy: A new record might get K7P2QXM9: eight characters of uppercase letters and digits. That value is generated once, when you first submit the record, and stays the same from then on.

Gotchas

  • Random is not unique. There is no collision check, and a short Length with few character sets repeats more often. For uniqueness, use Terminus ID or Auto Number.