Validation
Statamic allows you to validate your data using Laravel's validation system.
Overview#
While configuring a blueprint or fieldset field, switch to the Validation tab where you can choose from any built in Laravel rule.
In this screenshot, you can see that the field has an alpha_dash and min:4 rule which means you can only type letters and dashes, like a slug, and that it
must be at least 4 characters. You have plenty of options to be creative and confident that your data will be entered the way you need it to be.
Here's a peek at how that YAML is structured.