Support » Plugin: Brilliant Web-to-Lead for Salesforce » Post hidden fields to Salesforce SOLVED!

  • 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 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)
  • If anybody has a solution that makes this more dynamic, I’m all ears.

    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)


    Plugin Author Nick Ciske


    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.