you could also do that on beforeSubmit and throw a...
# suitescript
j
you could also do that on beforeSubmit and throw an error to prevent the record from hitting the database, but that is not as user friendly