• 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';

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter GusSalvador

    (@gussalvador)

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

    Thread Starter GusSalvador

    (@gussalvador)

    I also need to add a country drop down.

    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)

    Ryan

    Plugin Author Nick Ciske

    (@nickciske)

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Post hidden fields to Salesforce SOLVED!’ is closed to new replies.