custom validation

Hi all

How would I go about creating a custom validation ?

I have two dates start_date and end_date. I would like the system to flag “make the field red”, if the start_date is after (>) the end_date.

Any help much appreciated

You would need to inject some Javascript into the view to do that work.

There are some examples online…

Maybe this one:

1 Like