Skip to content

Exemples

Playground

You can try Regle in the Regle Playground.

Simple Validation Example

See a minimal usage of Regle's validation logic:
Simple Validation Example

Advanced Example

Advanced validation patterns and techniques:
Advanced Example

Collections Example

Working with arrays and collections in your forms:
Collections Example

Server Validation Example

Handling server-side validation and external errors:
Server Validation Example

Conditional Rules Example

Applying validation rules conditionally based on form state:
Conditional Rules Example

Custom Rules Example

Define and use your own custom validation rules:
Custom Rules Example

Required Indicators Example

Display required field indicators in your forms:
Required Indicators Example

Released under the MIT License. Logo by Johannes Lacourly