Available since v3.3.0

Validate any block or text entered by the user

Steps**:**

To validate you need to create an action called validate in the script, for example:

Untitled

Untitled

Json configuration

It accepts the following validation settings:

{
  "type": "phone",
  "constant": "registration:first_name",
  "pattern": "/\\\\w+/ig"
}

type

Optional field if pattern is provided.