# Send gform\_validation message to top of form instead of specific fields

**URL:** https://community.gravityforms.com/t/send-gform-validation-message-to-top-of-form-instead-of-specific-fields/6135
**Category:** Get Help
**Tags:** custom, validation-error, gform\_validation
**Created:** [September 16, 2020, 8:18pm UTC](https://community.gravityforms.com/t/send-gform-validation-message-to-top-of-form-instead-of-specific-fields/6135 "2020-09-16T20:18:10Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![frankmaven](https://avatars.discourse-cdn.com/v4/letter/f/d9b06d/32.png) [@frankmaven](https://community.gravityforms.com/u/frankmaven)
#### Post date: [September 16, 2020, 8:18pm UTC](https://community.gravityforms.com/t/send-gform-validation-message-to-top-of-form-instead-of-specific-fields/6135/1 "2020-09-16T20:18:10Z")

</div>

Using essentially example #2 here ([https://docs.gravityforms.com/gform\_validation/](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](https://us1.discourse-cdn.com/flex020/uploads/gravityforms1/original/2X/0/01d273caaea27aa8ee06992b3d33c3c0c3e93a61.png)

---

<div class="post-metadata">

### Author: ![richardw8k](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/richardw8k/32/2354_2.png) [@richardw8k](https://community.gravityforms.com/u/richardw8k)
#### Post date: [January 4, 2022, 5:54pm UTC](https://community.gravityforms.com/t/send-gform-validation-message-to-top-of-form-instead-of-specific-fields/6135/2 "2022-01-04T17:54:44Z")

</div>


