# issue with the Forms API, Hidden fields

**URL:** <https://community.hubspot.com/t/issue-with-the-forms-api-hidden-fields/130953>\
**Category:** APIs & Integrations\
**Tags:** cms-content, forms\
**Created:** [May 2, 2025, 8:33am UTC](https://community.hubspot.com/t/issue-with-the-forms-api-hidden-fields/130953 "2025-05-02T08:33:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mc12](https://avatars.discourse-cdn.com/v4/letter/m/8dc957/32.png) [@Mc12](https://community.hubspot.com/u/Mc12)\
**Post date:** [May 2, 2025, 8:33am UTC](https://community.hubspot.com/t/issue-with-the-forms-api-hidden-fields/130953/1 "2025-05-02T08:33:52Z")

</div>

When I set a field to _hidden_ in the HubSpot form editor and publish the form, all field configurations returned via the API still show hidden: false.

Am I missing something or doing something wrong?

 ![image (2).png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/f/fc6bba1ac03c3b6c1639e9aada494fa56ce73ec2.png)

 ![image (1).png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/f/d/fd0c93517e52f58b714efbe2b9eb2976526b1f54.png)

---

<div class="post-metadata">

**Author:** ![evaldas](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/evaldas/32/69160_2.png) [@evaldas](https://community.hubspot.com/u/evaldas)\
**Post date:** [May 2, 2025, 3:26pm UTC](https://community.hubspot.com/t/issue-with-the-forms-api-hidden-fields/130953/2 "2025-05-02T15:26:24Z")

</div>

Hi @Mc12,

I’m assuming you are using the “new” (not legacy) forms and the [Get a form definition endpoint](https://developers.hubspot.com/docs/reference/api/marketing/forms/v3#get-%2Fmarketing%2Fv3%2Fforms%2F%7Bformid%7D):

`https://api.hubapi.com/marketing/v3/forms/{formId}`

If so, it’s not something you are doing wrong. It appears that there might be a bug with the new/default forms editor - it returns the same _“hidden: false”_ for me as well when the field is hidden in the UI.

Confirming the endpoint works properly for **legacy forms** and indicates which fields are hidden:

 ![evaldas_0-1746198942593.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/a/a/aa3bd48f646553165b682123ea454a9a2f6f34b3.png)

If you want more dev control over the forms, I suggest using the legacy forms, as there are still quite a few quirks with the new forms that need to be ironed out.

Hope this helps!
