Sep 30, 2021 5:11 AM
Hi there,
I want to have the country property and
I want it to show as DropDown (there are a lot of countries and having them all on the form is distracting)
however, I do want to have the functionality of multiple checkboxes because the intended goal of this form is to provide a targeting option.
any suggestion as to how I can make it happen?
Solved! Go to Solution.
Sep 30, 2021 9:38 AM
Hi @EShumely
Thanks for the clarification, understood.
This isn't possible natively at the moment but there are a number of ideas in the forum that you could upvote to express your interest in this being looked at in the future e.g. https://community.hubspot.com/t5/HubSpot-Ideas/Multi-Select-Drop-Down-Field-for-Forms/idi-p/312673
In the meantime, I found a few forum posts with suggestions on how to potentially achieve this with Javascript and CSS or HubDB and HubL:
https://community.hubspot.com/t5/Blog-Website-Page-Publishing/Multiselect-Dropdown-Field/m-p/339184/...
https://community.hubspot.com/t5/CMS-Development/HUBDB-multiple-selection-option-in-dropdown-in-cust...
![]() | Matthew ShepherdSenior Customer Success Manager HubSpot He/Him |
|
Oct 3, 2021 12:57 AM
Thanks Matthew, Im unfamiliar with HubDB but it seems like the best solution for now.
Oct 1, 2021 8:36 AM
Hi @EShumely ,
https://developers.google.com/maps/gmp-get-started#api-key
https://developers.google.com/maps/documentation/places/web-service/usage-and-billing
You can use API it will automate fetch Country when you enter any word like( A, B etc)
Hope this helps!
If we were able to answer your query, kindly help the community by marking it as a solution.
Thanks and Regards.
Oct 3, 2021 1:04 AM
Hi webdew, I like the workaround but in my case I want them to choose from a specific list of locations.
I do like the map app of google, I use it in my scripts (not through their API though so I'm a bit restricted) any tips or tricks I should know about? 🙂
Sep 30, 2021 7:08 AM
Hi Mathew,
Thank you for taking the time and answer my question. I will try to be more specific.
I want to build a form to send to our clients or potential clients. in this form, they will detail their targeting needs. (which prospects they want to target). one of the fields should be Geo. so they should be able to choose different geo's to target in one form. I don't want to use the multi-check box because it doesn't look good on the form (try it and you'll see what I mean). I cant use the dropdown option because it only lets us target one geo and we want to give the client the option to target more than one. So I'm asking if there is a way to combine both options. hope I was able to explain myself better this time.
Sep 30, 2021 9:38 AM
Hi @EShumely
Thanks for the clarification, understood.
This isn't possible natively at the moment but there are a number of ideas in the forum that you could upvote to express your interest in this being looked at in the future e.g. https://community.hubspot.com/t5/HubSpot-Ideas/Multi-Select-Drop-Down-Field-for-Forms/idi-p/312673
In the meantime, I found a few forum posts with suggestions on how to potentially achieve this with Javascript and CSS or HubDB and HubL:
https://community.hubspot.com/t5/Blog-Website-Page-Publishing/Multiselect-Dropdown-Field/m-p/339184/...
https://community.hubspot.com/t5/CMS-Development/HUBDB-multiple-selection-option-in-dropdown-in-cust...
![]() | Matthew ShepherdSenior Customer Success Manager HubSpot He/Him |
|
Sep 30, 2021 6:55 AM - edited Sep 30, 2021 6:55 AM
Hi @EShumely
Are you looking to change the default Country/Region property from single line text to a dropdown?
If so, this community post might help: https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/Updating-the-Default-Country-Region-Prop...
You can likely make this a multiple checkboxes field instead of a dropdown select. Users could then select more than one country, but perhaps you are adding some code to automatically select the country based on the browser's location?
![]() | Matthew ShepherdSenior Customer Success Manager HubSpot He/Him |
|