Closed (fixed)
Project:
HubSpot
Version:
7.x-2.0-rc3
Component:
Code
Priority:
Normal
Category:
Bug report
Reporter:
Created:
11 Jan 2013 at 01:52 UTC
Updated:
11 Jan 2013 at 16:25 UTC
Jump to comment: Most recent
I'm not sure if this is a bug or user error here. But I have a webform select list with 4 options. I have HubSpot field type of Checkboxes (Select multiple options).
When I submit my webform with more than one option, HubSpot only populates one of those choices. Am I missing something? Is this a bug?
Thanks for any help!
Comments
Comment #1
Anonymous (not verified) commentedThe HubSpot Forms API is not very clear on how this should work. As I did not test with multiple-choice fields I am unable to say if this is a bug or expected behavior.
I will do some testing on this and advise, hopefully tomorrow at the latest, on how this should be handled.
Comment #2
xpersonas commentedThanks. I have a deadline Monday so I needed to be sure to get this done. It looks to me like it takes semi-colon separated values. I've modified your module like this...
I've only tested this with textfields and select lists. But it's working for me. I figured I would send this your way. You may know a slicker way to do it, or know why that won't work for other field types.
Comment #3
Anonymous (not verified) commentedYou are correct. I came up with a similar solution myself which has just been committed as 7.x-2.0-rc4.