I see two issues with this: 1) The form errors found in onvalidation will not be displayed if there are already form errors 2) The developer never gets a chance to remove form errors for certain conditions (think contingent form fields) For example, I am using IS_IN_DB on a field but I only want it to be required if another field is a certain value.
Is there a better way?