Skip to content

url

Custom field type

All field types

A link, either to something in the CMS or to an address you type.

Written as
"Type": "url"
Valid on
Template fields, Datastore schema, and custom site settings
Stores
{{ url }} — the Liquid object a template reads from this field.
Validators
same, not, eq, different
Default value
A URL string, the compact Entity|Type:Name|URL form, or an object carrying UrlType, ReferenceGUID, and Url.

Properties

Accepted in addition to the shared properties every definition carries.

Property Required Description
AllowedTypes — Restricts which kinds of link the editor may choose. Empty allows all.
DoNotValidateCustom — Skips URL syntax checking on a hand-entered address.