# Hidden Fields Populated not appearing Webhooks

**URL:** <https://community.feathery.io/t/hidden-fields-populated-not-appearing-webhooks/443>\
**Category:** Support\
**Created:** [January 30, 2024, 6:34pm UTC](https://community.feathery.io/t/hidden-fields-populated-not-appearing-webhooks/443 "2024-01-30T18:34:20Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![RobAhnemann](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.feathery.io/robahnemann/32/257_2.png) [@RobAhnemann](https://community.feathery.io/u/RobAhnemann)\
**Post date:** [January 30, 2024, 6:34pm UTC](https://community.feathery.io/t/hidden-fields-populated-not-appearing-webhooks/443/1 "2024-01-30T18:34:21Z")

</div>

Hello!

I’ve added a hidden field (named ‘bid’) to a form, and I’m populating with JavaScript:

Feathery.init(‘ID’)  
Feathery.renderAt(‘form-container’, { formName: “FORM\_NAME” });  
Feathery.setFieldValues({bid: “value”});

When I check it in the console (before submitting), I see the value in there using this line:

console.log(Feathery.getFieldValues());

However, I don’t see the value in my responses, nor in my webook that I attached.

---

<div class="post-metadata">

**Author:** ![peter](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.feathery.io/peter/32/7_2.png) [@peter](https://community.feathery.io/u/peter)\
**Post date:** [January 31, 2024, 12:03am UTC](https://community.feathery.io/t/hidden-fields-populated-not-appearing-webhooks/443/2 "2024-01-31T00:03:51Z")

</div>

Can you link to the form where you’ve added this logic that isn’t working for you?

---

<div class="post-metadata">

**Author:** ![RobAhnemann](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.feathery.io/robahnemann/32/257_2.png) [@RobAhnemann](https://community.feathery.io/u/RobAhnemann)\
**Post date:** [January 31, 2024, 1:51pm UTC](https://community.feathery.io/t/hidden-fields-populated-not-appearing-webhooks/443/4 "2024-01-31T13:51:19Z")

</div>

You can check it out here: [https://pets.rockpapersitecore.com](https://pets.rockpapersitecore.com)

---

<div class="post-metadata">

**Author:** ![peter](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.feathery.io/peter/32/7_2.png) [@peter](https://community.feathery.io/u/peter)\
**Post date:** [February 1, 2024, 6:31am UTC](https://community.feathery.io/t/hidden-fields-populated-not-appearing-webhooks/443/5 "2024-02-01T06:31:06Z")

</div>

It seems you’re calling it a little too early. I recommend you call the function as part of the onLoad event handler ([onLoad() - Feathery Docs](https://docs.feathery.io/develop/react/api-guide/form/event-handlers/onload))

---

<div class="post-metadata">

**Author:** ![RobAhnemann](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.feathery.io/robahnemann/32/257_2.png) [@RobAhnemann](https://community.feathery.io/u/RobAhnemann)\
**Post date:** [February 2, 2024, 2:39pm UTC](https://community.feathery.io/t/hidden-fields-populated-not-appearing-webhooks/443/6 "2024-02-02T14:39:21Z")

</div>

Adding the field setting to onLoad totally fixed this. Thanks!
