Ready to get started?Download WordPress


Forms: 3rd-Party Integration
Checkbox - Salesforce (4 posts)

  1. kokoruz
    Posted 7 months ago #

    I have a checkbox in my contact form 7 for newsletter opt in. I implemented your plugin and all my input fields are successfully added into Salesforce but the item that is a Checkbox is ignored.

    Any Ideas?


  2. kokoruz
    Posted 7 months ago #

    Is there something in Salesforce that might need to be done?

    I have a separate form just for newsletter signup where I use a hidden field to indicate 'Yes' and that value from the hidden field transfers to Salesforce without issue.

    The issue seems to be with the Checkbox that exists in more more info form. I know that a Checkbox is treated as an array but in my case I only have 1 value - 'Yes' if checked.

    Pulling my hair out trying to understand this.

  3. zaus
    Plugin Author

    Posted 6 months ago #

    Have you examined the debug output from the plugin? It should show exactly what is returned by the CF7 form, as well as exactly what is being mapped and sent to the service (Salesforce).

    My suspicion is that if the checkbox is unchecked, it's either not part of the submission (no value sent = omitted), which means that my plugin ignores it, or that it's being sent with a value that Salesforce doesn't interpret correctly (like '' when Salesforce expects 0).

    I think I remember someone else having a similar problem, and I think there's a way in Salesforce to tell it how to interpret 'empty' values.

  4. zaus
    Plugin Author

    Posted 6 months ago #

    Aha, this person had the same problem with checkboxes on the old plugin.


You must log in to post.

About this Plugin

About this Topic