Hello Community - how do you all validate non-required calendar controls on your K2 forms? I’ve found that if the user manually types in an invalid date, the form does properly highlight it but it still passes the validate condition because the value behind the scenes in the control is blank. This is find for when the field is also required, but if it is not there is no way for the form rules to know that the control has invalid data.
I’ve ended up building some javascript to see if any calendar control has that invalid class on it and set an is valid checkbox accordingly, preventing the user from saving/submitting if this check box is not checked. That seems like a strangely convoluted work around for what seems to be a simple issue. Am I overlooking something? Please share your solutions to this scenario. Thanks!

