# Bug with populating hidden fields which have dependant fields

**URL:** <https://community.hubspot.com/t/bug-with-populating-hidden-fields-which-have-dependant-fields/43408>\
**Category:** CMS Development\
**Tags:** forms\
**Created:** [September 6, 2021, 8:57am UTC](https://community.hubspot.com/t/bug-with-populating-hidden-fields-which-have-dependant-fields/43408 "2021-09-06T08:57:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![nikt](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/nikt/32/102945_2.png) [@nikt](https://community.hubspot.com/u/nikt)\
**Post date:** [September 6, 2021, 8:57am UTC](https://community.hubspot.com/t/bug-with-populating-hidden-fields-which-have-dependant-fields/43408/1 "2021-09-06T08:57:40Z")

</div>

Hi there,  
It seems that when you’re populating a hidden field all dependent fields remain hidden no matter what. It works fine with visible fields, but not with hidden ones.  
Jsfiddle: [https://jsfiddle.net/ndrozd/wdg1ckLs/12/](https://jsfiddle.net/ndrozd/wdg1ckLs/12/)

---

<div class="post-metadata">

**Author:** ![dennisedson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dennisedson/32/28044_2.png) [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Post date:** [September 7, 2021, 6:48pm UTC](https://community.hubspot.com/t/bug-with-populating-hidden-fields-which-have-dependant-fields/43408/2 "2021-09-07T18:48:29Z")

</div>

@nikt ,

I am looking into this and will get back to you when I have an answer for you

---

<div class="post-metadata">

**Author:** ![nikt](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/nikt/32/102945_2.png) [@nikt](https://community.hubspot.com/u/nikt)\
**Post date:** [September 22, 2021, 7:32am UTC](https://community.hubspot.com/t/bug-with-populating-hidden-fields-which-have-dependant-fields/43408/3 "2021-09-22T07:32:37Z")

</div>

Thank you, any updates?

---

<div class="post-metadata">

**Author:** ![dennisedson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dennisedson/32/28044_2.png) [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Post date:** [September 22, 2021, 3:47pm UTC](https://community.hubspot.com/t/bug-with-populating-hidden-fields-which-have-dependant-fields/43408/4 "2021-09-22T15:47:50Z")

</div>

@nikt , Still working on it!

---

<div class="post-metadata">

**Author:** ![dennisedson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dennisedson/32/28044_2.png) [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Post date:** [September 29, 2021, 2:57pm UTC](https://community.hubspot.com/t/bug-with-populating-hidden-fields-which-have-dependant-fields/43408/5 "2021-09-29T14:57:34Z")

</div>

@nikt

I can confirm this is working as designed. This is the answer from the engineer:

_I circled around this one and looked into documentation of jQuery methods and what jQuery does is nifty indeed, but it completely ignores anything specified in the form definition. It would be possible to listen to jQuery method .show() and override stuff on the form definition as a result of that, but that would fundamentally change the way FormsNext is being rendered, so this would be very risky to implement at this point in time._

_We might have a script next year that might be able to support this usecase straight out of box, but as the things stand now, we can’t support this one on the FormsNext rendering script_

Thanks for your patience on this one and hopefully we can get support for it for next year 🤞
