Demonstrates basic field validation and API usage.
Shows live validation with restrict: 'oninput'.
Demonstrates all built-in validation rules in a single form.
Only the first error per field is shown at a time.
All errors for a field are shown, separated by <br>.
Errors are returned as an array and displayed below the form.
Demonstrates data-strictly-initialnospace and data-strictly-singlespace validations. Try entering leading spaces or multiple spaces between words.
Demonstrates file type, size, and count validation for file inputs.
All error messages are shown in a summary box at the top, using the errorPlacement callback.
Shows how to use onValidate, onSuccess, and onError callbacks to react to form validation state.
Uses a synchronous custom validator for even numbers, validated via API.
Uses an asynchronous custom validator to simulate a remote username check ("taken" is unavailable, 500ms delay).
Demonstrates multiple custom validators per field, including parameterized and non-parameterized rules.