Just use a script trigger on the field to fire on entry into the field. If the conditions in the script pass, allow entry else exit field with message saying, “You cannot do that”.
"The nine most terrifying words in the English language are: 'I'm from the government and I'm here to help.'" Ronald Reagan
Thanks Tim, that should do it.