When creating a new webform, even if Ieave the field "Submit to SalesForce" to "No", the module is still added the mandatory fields from the salesforce object selected by default (in my case, "lead").

Otherwise, this new 3.x version works already really great. Thanks to all contributors for all this work.

Comments

gregoire@inficiences.com’s picture

Component: Miscellaneous » Code
chriscalip’s picture

Assigned: Unassigned » chriscalip
chriscalip’s picture

Hey Greg,

I'll put it on my to-do list. seems like an easy fix. so it should be somewhere on the top.

nonsie’s picture

Status: Active » Needs review

Here's a patch that only adds the fields when Submit to salesforce and auto create is set to "Yes".

nonsie’s picture

And the patch file

gregoire@inficiences.com’s picture

How do I apply the patch (I have no knowledge of drupal module development)?

Thanks for your help.

nonsie’s picture

This will help you with patching - http://drupal.org/patch/apply

obsidiandesign’s picture

Status: Needs review » Fixed

The patch in #5 has been applied to the 3.x branch. Thanks nonsie for creating the patch.

Bryan O'Shea
Obsidian Design

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.