Passing Validation Errors to custom function

Is there a way to pass the validation error content in an object to another function? I don’t see this option in the form object. Thanks

Hi Michael. Can you let us know what you want to accomplish specifically? Maybe we have an approach you can use. Thank you.