Multiselect Dropdown Field

8 Replies 8
JessicaH
HubSpot Alumni

Hi @LCSKMiller,

 

Thanks for reaching out.

This article about the different field types might be interesting for you.

Have you tried using the field type "multiple checkboxes".

 

Multiple checkboxes: stores checkboxes that contain several, usually related options, with a maximum of 1000 options. Each option has a maximum of 3,000 characters, including its label, value, and description. This is an enumeration property.

 

I hope this helps.

Take care!

Jess


Wusstest du, dass es auch eine DACH-Community gibt?
Nimm an regionalen Unterhaltungen teil, in dem du deine Spracheinstellungen änderst !


Did you know that the Community is available in other languages?
Join regional conversations by changing your language settings !


0 Upvotes
LCSKMiller
Contributor

Hi @JessicaH - we are currently using this field type.

 

We are looking for code to turn it from a list into a dropdown to save space on the form.

JessicaH
HubSpot Alumni

Hi @LCSKMiller,

 

Thanks for clarifying.

At the moment there is no out of the box solution for this from HubSpot's side.

 

However, I'm going to loop in some of our experts. Maybe they will be able to help you with this.

 

Hi @Kevin-C @daveroma @dennisedson, do you have any thoughts on this?

 

Thanks!

Jess


Wusstest du, dass es auch eine DACH-Community gibt?
Nimm an regionalen Unterhaltungen teil, in dem du deine Spracheinstellungen änderst !


Did you know that the Community is available in other languages?
Join regional conversations by changing your language settings !


0 Upvotes
Kevin-C
Recognized Expert

Thanks for the tag @JessicaH and Hey @LCSKMiller 

 

I believe this could be done by creating a hidden field and using jQuery to populate the multi-select drop down UI. Then have JS fill the hidden field when the multi-select changes. Finally on submit this hidden info will be sent to the DB.

 

 

dennisedson
Community Manager

@LCSKMiller ,

yeah, reading through the posts you linked above, it seems like you are not wanting to use any js.  Unfortunately, that is the only way you would be able to create this 😞

Please upvote any ideas on it as it will stand out more for the team

Thanks,

Dennis



Check out our Community Developer Blog
where we feature our Community driven developer podcast and how to content
daveroma
Contributor | Platinum Partner

@LCSKMiller @JessicaH if there aren't any options in the marketplace you can get a decently skilled front-end developer to build this module for you. Styling these HTML elements can actually be a little tricky so here's some code I found for you that should get you pretty close to the finish line should you need to go the custom route:

https://codepen.io/cjonasw/pen/nFdvw

 

 

LRumbelow
Member

When is this likely to be a feature within a form on HS? When building out landing pages I have no front end resource, so I need to be able to drag in a multiselect dropdown, job done. 

I don't understand why I need to invest in hours of dev time, when we have HS?

0 Upvotes
dennisedson
Community Manager

@Tim_Joyce_Belch this may be up your alley 🙂

Thanks,

Dennis



Check out our Community Developer Blog
where we feature our Community driven developer podcast and how to content
0 Upvotes