Send gform_validation message to top of form instead of specific fields

Using essentially example #2 here (https://docs.gravityforms.com/gform_validation/) I’m sending a webhook using the form submissions and checking the response, which is working pretty well.

Problem is, the response I get from the webhook validates some of the fields (checks for bogus domains and location information), but it really just returns a generic string that isn’t structured in a way I could attach it easily to a field.

We’re attaching the validation_message to the $field based on its id, but could we possibly attach it to the validation_error div at the top of the form?

Screen Shot 2020-09-16 at 3.16.39 PM