StableField type
Link (URL)
Overview
A web address that must start with http:// or https://, shown as a link that opens in a new tab.
Purpose
Website of a supplier, link to a shared folder, tracking page, social profile.
Inputs
- Fits the URL input.
Configuration
- Options on every editable field: Required, Unique (no duplicates) (checked case-insensitively against existing records), Description (shown to teammates and the AI), a default value and a custom validation message that replaces the standard one.
- For uploaded documents use File instead; for images use Image.
Outputs
- Stored as typed (trimmed). Displayed as a link without the protocol, cut to 40 characters in tables.
Example
Supplier website
Example
Field: Website · Type: Link (URL) Example value: https://www.example.com/catalog
Errors
- “Website must start with http:// or https://”.
Limitations
- Other schemes (mailto:, tel:) are rejected — use Email / Phone fields.
- An empty value is stored as empty (null); a Required field rejects it with “<Label> is required”.
Advanced
- Coercion:
trim()then^https?:\/\/check; no further normalisation.