Have two fields “start” and “end”, both are dates, I want to write a custom validator for a scheduling model. The validator checks to see if start is before end, then does a query to see if those dates have been selected before. While I know how to do it for a single field, when two fields are involved I’ve gotten lost.
Any help would be great.
Checkout this validates timeliness
Which gives tons of useful validators like