Custom validator that takes a function
Merge pull request #1 from firefly21/custom_validator

Custom validator that takes a function