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

  1. kokoruz
    Posted 1 year 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 1 year 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 1 year 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 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Forms: 3rd-Party Integration
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic