It is all in the naming

The name of a function should reflect is usage in regards a boolean

So onValidate would expect to return a True for 'yes i am valid' or FALSE for a fail


Validate_save does not return a boolean but an error number so a return of 0 is No Error while a non zero is an error.

https://docs.dataaccess.com/dataflex...idate_Save.htm