How to prevent entering a DueDate in the past

Hello,

has somebody put in place a mechanism to block entering a value in the
past for the “DueDate” field?

Thanks a lot in advance,
Gabriele Franzini
Nerviano Medical Sciences - Italy