Email

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

Is something missing or incorrect? Edit this page on Github…