Salesforce button group mapping to picklist

I am passing my form data to Salesforce with the integration you have and while the integration is working fine, there seems to be some inconsistency on data parsing for different input types.

In particular, the incompatibility I am facing is when passing button group values into fields that are the “Picklist” data type in SF. It seems that this could be because button groups are passed as arrays or something like that.
Radio buttons group for example, also have multiple options but they are passing correctly. See images below:

Screenshot 2024-09-11 at 18.35.03
to-call-form
time-form

Also, when I map a Button group to a standard text field in SF, it maps correctly, so the problem is Buttton group to Picklist.

(Text fields on SF could be a potential solution if necessary, but that would mean that I need to convert all my SF picklist fields into standard text fields which is less than ideal)

Any idea on how this can be fixed? Thank you!

Hello there. That’s right values of button groups do get passed around in Array format as there is an option for multiple selections. A workaround for this one, on the form side if you’d rather not touch the SF configs, would be to manually store the plain text values to a different set of hidden fields. Then you’d just use the hidden fields on your Salesforce mapping.

1 Like

Thanks Eri. Ended up mapping the results to a hidden field in plain text value.