Date field validation in suitecrm 8.6

I’m using suitecrm 8.6 and I need to add a validation on a date field, so the user cannot choose a date in the past. I’ve read a lot of examples but many solutions are about version 7.x and not work. In the official documentation I haven’t find something useful and seems that are many differences from my 8.6 and last 8.8 version. Any hints?
Thanks.

Please check if this helps

Or a custom date validator would help. Please refer this

Ok, but in my 8.6 the file " config/services/ui/ui.yaml" doesn’t contain “validations” section… what’s wrong?

I think that what he is asking you to add in the code.

1 Like

You are right. Could you please check if logical operators help on date types.

1 Like