# Salesforce button group mapping to picklist

**URL:** <https://community.feathery.io/t/salesforce-button-group-mapping-to-picklist/1043>\
**Category:** Support\
**Created:** [September 11, 2024, 4:42pm UTC](https://community.feathery.io/t/salesforce-button-group-mapping-to-picklist/1043 "2024-09-11T16:42:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ez-up](https://avatars.discourse-cdn.com/v4/letter/e/bb73d2/32.png) [@ez-up](https://community.feathery.io/u/ez-up)\
**Post date:** [September 11, 2024, 4:42pm UTC](https://community.feathery.io/t/salesforce-button-group-mapping-to-picklist/1043/1 "2024-09-11T16:42:56Z")

</div>

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](https://canada1.discourse-cdn.com/flex030/uploads/feathery/original/1X/462f216d8a6b38154a45a95f0f09a90141a03cef.png)  
 ![to-call-form](https://canada1.discourse-cdn.com/flex030/uploads/feathery/original/1X/ba266ec96aadccc47e2946d60c9b5e8a4320e874.png)  
 ![time-form](https://canada1.discourse-cdn.com/flex030/uploads/feathery/original/1X/2b9dd4bc78f8a4436354f0a611f1c768779d3649.png)

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!

---

<div class="post-metadata">

**Author:** ![eri](https://avatars.discourse-cdn.com/v4/letter/e/8baadc/32.png) [@eri](https://community.feathery.io/u/eri)\
**Post date:** [September 11, 2024, 9:26pm UTC](https://community.feathery.io/t/salesforce-button-group-mapping-to-picklist/1043/2 "2024-09-11T21:26:24Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![ez-up](https://avatars.discourse-cdn.com/v4/letter/e/bb73d2/32.png) [@ez-up](https://community.feathery.io/u/ez-up)\
**Post date:** [September 17, 2024, 5:16pm UTC](https://community.feathery.io/t/salesforce-button-group-mapping-to-picklist/1043/3 "2024-09-17T17:16:40Z")

</div>

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