Multiselect Dropdown Field

Highlighted
Regular Contributor
Reply
0 Upvotes
7 Replies 7
Highlighted
Community Manager

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


Did my post help answer your query? Help the Community by marking it as a solution
Reply
0 Upvotes
Highlighted
Regular 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.

Reply
0 Upvotes
Highlighted
Community Manager

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


Did my post help answer your query? Help the Community by marking it as a solution
Reply
0 Upvotes
Highlighted
Regular Advisor | Partner

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.

 

 

Highlighted
Regular Advisor | Platinum Partner

@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 Smiley Sad

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

dennis
Highlighted
Regular Contributor | Gold 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

 

David Roma | Drive Agency

Highlighted
Regular Advisor | Platinum Partner

@Tim_Joyce_Belch this may be up your alley Smiley Happy

dennis
Reply
0 Upvotes