div-input-validator-regex

Regex validator.

Parameters

Parameters Description
label_id

string

Required parameter.

ID of the text element containing the error message. The message will also be used for providing access.

pattern

string

Required parameter.

A regular expression (pattern) that the field value must match.

type

string

Required parameter.

The value must always be regex.

variable

string

Required parameter.

The name of the variable that stores the calculation results.

allow_empty

bool_int

Determines whether the empty field value is valid.

Default value: false.

JSON
{
  type*: "regex",
  allow_empty: "bool_int",
  label_id*: "string",
  pattern*: "string",
  variable*: "string"
}