Guide
Quick Start Guide
This guide will help you quickly understand how to use Validation Box, configure it to fit your needs, and troubleshoot any potential issues.
Basic Usage Example
Once installed, you can start using Validation Box right away. Here's a simple example of validating a username with custom rules:
First hand you need to do the import from the library and call the function you are using. Here the list of options.
Instead of returning a simple boolean, functions now return an object containing valid and errors.
The default validation rules apply if no options are provided.