validate url

This block is part of the condition group and was last modified in core v14.0.4.

validate url v14.0.4

Validates URL format - checks if the given string is a valid URL

In pins 2
  • URL required
    value

    The URL to be checked.

  • require protocol
    condition

    Require the URL to start with a protocol (http:// or https://)

    Default true

Out pins 1
  • valid
    condition

    The condition that says whether the URL is valid or not.

valid=true when the input parses as an absolute http/https URL with a non-empty host. With require_protocol=true (default) the scheme must be present and be http or https - other schemes are false. With require_protocol=false a scheme-less value is retried as https://value. Empty input is false. Syntax only; no reachability check.

url
link
website

A typical wiring for validate URL: value feeds the url pin; the valid out pin feeds branch.

Studio canvas example for the validate URL block: typical wiring for validate URL.

Version history

Introduced in v14.0.4.


Back to condition Return to the main group to view all sub-groups Back to condition Return to the group to view all blocks within this group