Validate
4 posts tagged with "Validate"
.validate-email
element
The .validate-email action validates input is valid email. It belongs to the validate category within the ui area.
Action Syntax
This action accepts various parameters. See the examples below for usage patterns.
Valid sizes
tiny
small
medium
large
extra
Examples
// Basic Usage
.validate-email
Action code: 818276643
Version: 0.6.4
Last updated: 2025-06-13
ensure-email
The ensure-email action ensure last input value is an email. It belongs to the validate category within the ui area.
Action Syntax
This action accepts various parameters. See the examples below for usage patterns.
Valid sizes
tiny
small
medium
large
extra
Examples
// Basic Usage
ensure-email
Action code: 1867821045
Version: 0.6.4
Last updated: 2025-06-13
is-valid-email
function
The is-valid-email action checks if value is a valid email. It belongs to the validate category within the ui area.
Action Syntax
is-valid-email $variable
A variable name starting with $
is-valid-email "text"
A quoted text string
Return Value
This function returns a
BOOLEAN
value that can be stored in a variable:
$result = is-valid-email
Valid sizes
tiny
small
medium
large
extra
Examples
// Basic Usage
$boolean = is-valid-email $varname
Action code: 2482734309
Version: 0.6.4-0
Last updated: 2025-06-13
is-valid-phone
function
The is-valid-phone action checks if value is a valid phone. It belongs to the validate category within the ui area.
Action Syntax
is-valid-phone $variable
A variable name starting with $
is-valid-phone "text"
A quoted text string
Return Value
This function returns a
BOOLEAN
value that can be stored in a variable:
$result = is-valid-phone
Valid sizes
tiny
small
medium
large
extra
Examples
// Basic Usage
$boolean = is-valid-phone $varname
Action code: 450071176
Version: 0.6.4-3
Last updated: 2025-06-13