• Resolved Christopher Mitchell

    (@chrismitchell)


    We have a Gravity Forms form running with a set of checkboxes, but when it submits to Hubspot it doesn’t marry up with the options within, as it converts ALL commas to semicolons (even with text within the checkbox values). Also it adds a semicolon between each selected item, which doesn’t look the same as if you fill in the Hubspot form directly with Hubspot.

    Any ideas on how to get around this issue?

    Thanks in advance for your help ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Chris Lagasse

    (@soben)

    Hey Christopher,

    This is a current issue with the enumeration of the fields. Gravity Forms stores the checkboxes as a comma delimited list, but HubSpot needs it as a semi-colon delimited list. As such I need to do a find/replace to replace the commas with semi-colons.

    Preferable option is to not have “values” for the checkboxes that have commas in it. The Labels can have commas, but the Values shouldn’t.

    I will add this to my bug list, though, as it’s likely a somewhat common issue, and one I _may_ be able to compensate better than I currently do.

    -Chris.

    Chris, I’m also having this problem with commas in a select list. Unfortunately I can’t remove the comma from the item. Is there a workaround or can you point me to the place in the code that I could modify for this single form field?

    Thread Starter Christopher Mitchell

    (@chrismitchell)

    @dswingle in the end we had to work a workflow out with the people at Hubspot to make it work. Also we made it so that the actual Value of the checkbox within Gravity Forms that it sent was compatible with the ones in Hubspot (along with the workflow to make it understand what was needed), this meant making them just one word instead of a full sentence, then matching that value within Hubspot.. Not sure if that helps?

    I’m not completely following. Is there a fix available where I can use commas in a select option? As an example, I have a GF dropdown with the following choice:
    “User Type A, B or C”

    When I look at the submission in WP, it is correct (“User Type A, B or C”). When it gets submitted to Hubspot, the data is “User Type A; B or C”, which doesn’t match an available option in Hubspot.

    Thread Starter Christopher Mitchell

    (@chrismitchell)

    Unfortunately, not really to fix the way you want.

    As I said, I had to set up a workflow to make it so that it understood what was selected. I can’t really tell you what else was done.. as it was all done by the people at Hubspot.

    Sorry I can’t be more help ??

    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Checkboxes and semicolon’ is closed to new replies.