WordPress-to-lead for Salesforce CRM
Post hidden fields to Salesforce SOLVED! (5 posts)

  1. GusSalvador
    Posted 5 years ago #

    Let me start by saying that I don't believe this plugin works properly with 3.2. When submitting the form the "Error message when Salesforce.com connection fails" is displayed. However, everything is entered in to Salesforce correctly. A quick fix for this was placing "Success" text into that field.

    I also needed to submit a hidden field to salesforce for sorting purposes, in addition to Lead Source. I was able to achieve this by placing additional $post code into line 395 of salesforce.php.

    $post['field-id-from-sf'] = 'field-value';

  2. GusSalvador
    Posted 5 years ago #

    If anybody has a solution that makes this more dynamic, I'm all ears.

  3. GusSalvador
    Posted 5 years ago #

    I also need to add a country drop down.

  4. RyanJBaron
    Posted 5 years ago #

    I was running into the same problem "SalesForce Connection failure" when using IE, but the information was still being submitted to salesforce properly. Implementing the following code solved the problem for me.

    Fix (on line 414):
    if ($result['headers']['is-processed'] == "true")

    Change it to:
    if (!isset($result['headers']['is-processed']) && $result['response']['code'] == 200)


  5. Nick Ciske
    Plugin Author

    Posted 4 years ago #

    This has been fixed in v2.0 which was just released. Also, it supports adding custom fields and hidden fields.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WordPress-to-lead for Salesforce CRM
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic