Issue #188947 by lyricnz: date_validate() takes a form element, not a whole form, correct the variable name to clean this up