Checks for valid email addresses
-
return (boolean)
In your code
if(v::email('bastian@getkirby.com')) {
echo 'Yay, valid!';
}
In fields
fields:
example:
label: Example field
type: text
validate: email
Checks for valid email addresses
if(v::email('bastian@getkirby.com')) {
echo 'Yay, valid!';
}
fields:
example:
label: Example field
type: text
validate: email