# Forms with collapsable field on webpage?

**URL:** <https://community.hubspot.com/t/forms-with-collapsable-field-on-webpage/121059>\
**Category:** CMS Development\
**Tags:** starter\
**Created:** [November 21, 2024, 10:07am UTC](https://community.hubspot.com/t/forms-with-collapsable-field-on-webpage/121059 "2024-11-21T10:07:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Thomas\_Oreskov](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/thomas_oreskov/32/18174_2.png) [@Thomas\_Oreskov](https://community.hubspot.com/u/Thomas_Oreskov)\
**Post date:** [November 21, 2024, 10:07am UTC](https://community.hubspot.com/t/forms-with-collapsable-field-on-webpage/121059/1 "2024-11-21T10:07:44Z")

</div>

Hi  
I have asked HubSpots technical team about if it was possble to have collapsable fields inside a form, that is in a link. Ansvar was no. She send me to this page.

I am looking to have an option for something like “show more” and by default collapse the options until a user clicks on show more to see more of the value options on the form.

I asked if it was possible to do with a webversion of the Form, maybe with some HTML coding… or something like that?  
NB: I am not a software developer.

---

<div class="post-metadata">

**Author:** ![Thomas\_Oreskov](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/thomas_oreskov/32/18174_2.png) [@Thomas\_Oreskov](https://community.hubspot.com/u/Thomas_Oreskov)\
**Post date:** [November 21, 2024, 10:20am UTC](https://community.hubspot.com/t/forms-with-collapsable-field-on-webpage/121059/2 "2024-11-21T10:20:09Z")

</div>

Maybe I shuld use landing page???

---

<div class="post-metadata">

**Author:** ![Anton](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/anton/32/103167_2.png) [@Anton](https://community.hubspot.com/u/Anton)\
**Post date:** [November 21, 2024, 3:34pm UTC](https://community.hubspot.com/t/forms-with-collapsable-field-on-webpage/121059/3 "2024-11-21T15:34:14Z")

</div>

Hey [@Thomas\_Oreskov](https://community.hubspot.com/t5/user/viewprofilepage/user-id/852514),

by default it’s not possible to have a collapsible field inside a module because it’s not a good UX. If you’re planning to collapse something like the “legal checkboxes” of a form - Technically it could be done with some JavaScript, CSS and a “onFormInit” event, but I wouldn’t recommend you to do so because of the UX topic.

Do you have an example of what you’re trying to achieve?

best,

Anton

---

<div class="post-metadata">

**Author:** ![Thomas\_Oreskov](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/thomas_oreskov/32/18174_2.png) [@Thomas\_Oreskov](https://community.hubspot.com/u/Thomas_Oreskov)\
**Post date:** [November 22, 2024, 7:56am UTC](https://community.hubspot.com/t/forms-with-collapsable-field-on-webpage/121059/4 "2024-11-22T07:56:38Z")

</div>

Hi Anton  
Thank you for your reply. If something is not possible as default, and it is a tiny problem, then we should not do it.  
We have a form that is getting long with fields like this:

 ![Thomas_Oreskov_0-1732261993158.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/7/b/7bc8a693fe0b4e1c3045ebf05a4fbc7af44a8d87.png)

but have decided to go with this instead after your reply.

 ![Thomas_Oreskov_1-1732262039425.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/2/8/28dc4fb1a47575b0a77f644b845ec8823b2a476e.png)

and have a note to it.  
Thank you for your help
