Skip to main content

URL

The URL field is used to capture web addresses. It validates the input to ensure it is a properly formatted URL.

Example

fields:
  website:
    type: url
    label: Your Website
    placeholder: Enter your website URL

Field Properties

Name Type Default Description
aria string

Optional aria label for better accessibility.

autofocus bool false

Set autofocus on field.

error string | array

Costum error message for translation or customization.

help string | array

Optional help text below the field

label string | array

The field label can be set as string or associative array with translations

placeholder string | array

Optional placeholder value that will be shown when the field is empty.

required bool

Defines whether the field is mandatory for form submission.

title string | array

Tooltip displayed when the user hovers over the field (supports multilingual configurations).

width string 1/1

The width of the field in the 12 columns field grid.

Validation Logic

The URL field automatically ensures the input is a correctly formatted URL (e.g., http://example.com or https://example.com).