My form conditions to hide fields based on a date field are not working