Validation rules for dates (after, before, other fields)

Validation rules for dates (after, before, other fields)

Hi All!

Is there a way in which I can put in place a validation rule in a custom module, that would check that a date doesn't come before another date in the record?

I want to put in place validation rules in a module with records that have 1 to 24 instalment due dates fields, to make sure that they are correctly entered by users. For example:

- Dates of instalments are in order. In other words, Instalment 2 Due Date can not be earlier that Instalment 1 Due Date, and Instalment 19 Due Date (if any) can not come before Instalmente 9 Due Date.

Thank you!

J.