There's a nice demo that shows how to prevent the user from submitting dates when they are invalid AND required. What is the suggested method of preventing the user from submitting (clicking save) when the field is not required, but must be valid if it is filled in?
I have seen some discussion but most are quite old and don't seem like very elegant solutions.
I have seen some discussion but most are quite old and don't seem like very elegant solutions.