Alpha

Valid: A-Z

  • return (boolean)

In your code

if(v::alpha($input)) {
  echo 'Yay, valid!';
}

In Panel fields

fields:
  example:
    label: Example field
    type: text
    validate: alpha

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