Custom Validation


Hi Team,

Can anyone explain how I can add custom validation function and use in rules

Suppose , I have two date field as startDate and endDate, i want to validate the range

How I can ???


Hi @sudhiN,

You can create new rule by extending Validator.

Check this link to see how to do that


Can you kindly show an example? Becuase the link in the docs “how to extend the validator” just points to the top of the web page. I have the validator setup but I have no idea how to attach it to the framework.