Wixel / GUMP

A fast, extensible & stand-alone PHP input validation class that allows you to validate any data
https://wixelhq.com
MIT License
1.17k stars 341 forks source link

Validate field only if is present and is not empty? #309

Closed ghost closed 4 years ago

ghost commented 4 years ago

I would like to suggest a rule to ignore other rules for a field if the field is empty. Like nullable rule on Laravel Validator.