fuel / validation

FuelPHP Framework - Data Validation library
70 stars 14 forks source link

Get the $value from within a Rule getMessageParameters() method. #44

Closed mikepmtl closed 9 years ago

mikepmtl commented 9 years ago

It would be nice to be able to have the ability to return a validation error message that repeats the value of the field that is being validate.

i.e. For something like NumericBetween:

Currently we can only get the parameters passed, but not the value.