APIs & Integrations

turner_bass
Participant

Collected Forms and Multiple Checkboxes

SOLVE

I have created a custom property called "Organizations" for my contacts and my registration form has multi-select checkboxes that are meant to be mapped to the multi-select options I made under "Organizations" however, the properties that HubSpot receives through my Collected Form don't seem to be mapping right.

I get a warning that those values couldn't be mapped to a contact property, even though I have the collected fields and the "Organization" properties named the same and I can see which boxes are actually checked.

Is there a step I'm missing?

0 Upvotes
1 Accepted solution
turner_bass
Solution
Participant

Collected Forms and Multiple Checkboxes

SOLVE

@Isaac_Takushi thanks for getting back with me on this. Even though I am still having that issue, what I was able to do to work around it was:

  • Copy the collected (Non-HubSpot) form to a HubSpot form
  • Then set up an AJAX call on the page with the Organizations property I was trying to collect

By doing that I could control exactly how those multiple checkboxes were getting mapped and sent to HubSpot's API. That worked out great!

Without knowing exactly how the API is set up to map multiple checkboxes to internal properties, it looks to me like the labels of each checkbox are being read as a single property on their own (single checkbox) instead of options on one property, in this case Organizations. So I think that is what the problem was

View solution in original post

0 Upvotes
3 Replies 3
IsaacTakushi
HubSpot Employee
HubSpot Employee

Collected Forms and Multiple Checkboxes

SOLVE

Hi @turner.bass,

Ah, I see. I'm glad you were able to find a workaround!

I haven't found documentation on our end on how our collected forms tool picks up the values of multiple checkbox fields, but your description is consistent with behavior I've seen in the past. I appreciate the feedback and will keep my eye out for similar use cases in the future.

Isaac Takushi

Associate Certification Manager
0 Upvotes
IsaacTakushi
HubSpot Employee
HubSpot Employee

Collected Forms and Multiple Checkboxes

SOLVE

Hi @turner.bass,

If you're on a paid subscription, your best bet for these types of questions is actually HubSpot support. They can immediately begin troubleshooting once you open a ticket.

If support isn't an option, though, please send me your Hub ID and a link to the collected form you're working with.

Isaac Takushi

Associate Certification Manager
0 Upvotes
turner_bass
Solution
Participant

Collected Forms and Multiple Checkboxes

SOLVE

@Isaac_Takushi thanks for getting back with me on this. Even though I am still having that issue, what I was able to do to work around it was:

  • Copy the collected (Non-HubSpot) form to a HubSpot form
  • Then set up an AJAX call on the page with the Organizations property I was trying to collect

By doing that I could control exactly how those multiple checkboxes were getting mapped and sent to HubSpot's API. That worked out great!

Without knowing exactly how the API is set up to map multiple checkboxes to internal properties, it looks to me like the labels of each checkbox are being read as a single property on their own (single checkbox) instead of options on one property, in this case Organizations. So I think that is what the problem was

0 Upvotes