Plugin Directory

WordPress-to-lead for Salesforce CRM

WordPress-to-Lead for Salesforce CRM creates a solid integration between your WordPress install(s) and your Salesforce.com account!


  • Add setting to remove WP CF7 javascript to fix it hijacking forms with WP CF7 CSS integration turned on
  • Add setting to enable SSL verification of SalesForce SSL cert when connecting to the API
  • Use protocol-less URLs for external resources -- fixes insecure content issues (thanks Charles Augello)
  • Pass $post to salesforce_w2l_api_url and salesforce_w2l_cc_admin_email_subject (thanks Haruhiko Kobayashi)


  • Add setting to make it easier to CC multiple people on new submissions
  • Add settings to specify the from name & from email for emails sent by the plugin (note: other plugins may override these settings via filters)
  • Add examples for filtering field values
  • New ad artwork/links


  • Use esc_url_raw instead of sanitize_url
  • Update tested with version


  • Add Date field with jQuery datepicker functionality
  • Add email field type (a text field with auto-validation)
  • Update ad artwork
  • Add filter for retUrl (redirect URL)
  • Add filter for success message


  • Fix incorrect form id/anchor bug that broke scrolling to the form after submit


  • Fix "Wrong parameter count for trim()" bug in form editor.


  • Fix javascript error when not using placeholder label layout
  • Make colons after labels optional (see form settings near the bottom to disable)


  • Add filter to allow suppression of the admin screen nag about a missing organization id
  • Fix bug that was adding a colon after checkboxes and HTML field labels
  • Fix checkbox label alignment on top-aligned forms
  • Fix Top Aligned label radio option not being checked when selected (admin)
  • Add label layout option for sidebar forms
  • CSS tweaks to improve field spacing and improve default sidebar layouts
  • Restrain overly wide select fields in sidebar forms
  • Beautify CSS formatting consistent


  • Further improve auto detection of new options format


  • Fix bug in auto detect of new options format that could break fields with newlines and pipes mixed together


  • Improve importer to allow forms that have been modified to be imported (thanks Mark Loeffler)
  • Fix new hidden fields becoming text fields upon save (typo)


  • Added a new picklist options format: newlines and pipes (vs pipes and colons) to allow colons to be used in names/values (and make it easier to read)
  • Make all input tags self closing e.g. <input /> for xhtml compatibility
  • Disable W3TC object caching when captcha is used (until a cache friendly captcha solution is added)
  • Add Content-Type header to form POST


  • Tested up to 4.0
  • Add plugin icon
  • Form id 1 can now be duplicated
  • Duplicate forms have (copy) appended to the form name to clearly mark them as the duplicated form


  • Refactor salesforce_cc_admin to allow a customizable subject (translators: affects localization strings)
  • Email admin on submission errors as well as successes, append result data
  • Add salesforce_w2l_post_data filter (see 'Other Notes')
  • Add salesforce_w2l_before_submit, salesforce_w2l_error_submit, salesforce_w2l_after_submit actions (see 'Other Notes')


  • FAQ: Clarify the mess that is picklist fields/names
  • Fix label with when using top aligned labels
  • Add clearfix to sf_field container
  • Fix PHP notice when deleting a form
  • Added importer option (finally) to make it easier to generate W2L forms at SF then auto import them


  • Allow debug mode to be set (was getting set to 0 before submit)
  • Remove debugEmail from user email fields
  • Update debug info and add built in field name info on FAQ


  • Fix PHP warnings due to switch to strlen for required field validation


  • Fix bug where "0" (zero) was not considered a valid value for required fields


  • Fix regression bug where checkboxes turn to text fields due to capitalization of option label


  • Allow lead_source to be a form field (i.e. don't overwrite value if it already exists)


  • Allow filtering of wp_remote_post arguments
  • Add picklist FAQ regarding field names
  • Add Multi-Select field (aka MultiPicklist)
  • Refactor code to properly handle strings and arrays as field values (to support multi-selects)
  • Add embed URL example code to FAQ


  • Add lead source back into admin email
  • Add filter for lead source


  • Fix issue where deleting form title made the edit link disappear
  • Fix settings url in alert to go to settings tab
  • Add filter to allow form action to be removed


  • Fix issue with OID and other fields being appended to the user confirmation email
  • Add salesforce_w2l_cc_user_suppress_fields filter to allow supression of fields in the user confirmation email


  • Readme improvements


  • Fix bug in load_plugin_textdomain call
  • Readme improvements
  • Change value input size to match label field


  • Fix confusing wrapping on form editor on very wide screens (reported by cindybou)
  • Change name of and add note to filters and hooks section


  • Add filter for field values
  • Add salesforce_get_form and salesforce_get_field helper functions


  • Version number bumps


  • Allow some settings to be overridden per form (Success Message, Captcha, OrgId, etc)
  • Support for option to use placeholders instead of labels (per form)
  • Remove newlines in form HTML that were being converted to
    upon output
  • Add Settings link to plugin list screen
  • Grey out non enabled fields in admin
  • Set a default checkbox width as some themes think input{ width: 100% } is a good idea...
  • All default CSS now uses relative sizes
  • Prevent multiple submission of form data (even if it's the same form id on the page multiple times)
  • Remember "send me a copy" between submits
  • Defined DONOTCACHEPAGE if captcha is enabled
  • Fix PHP notices when form is submitted
  • Update ads and landing page URLs
  • Add support links to plugin list page, restore WP.org plugin link
  • Load text domain on plugin init, add .pot file


  • Fix PHP warnings and notices


  • Add email and captcha error to settings page.


  • Added filter to user and admin email content


  • Fix deprecated (in PHP 5.3) ereg_replace functon in captcha lib



  • Bug: Fixed checkboxes not retaining checked state after submit
  • Bug: Only output DA JS when token has been entered
  • Wrapped all output in a div tag to allow styling of success and error messages
  • Added #anchor to action to keep form on screen after submit when not the first item in a page (may not work in older versions of IE)
  • Add per field validation filter and error output (thanks to http://HomeStretchMktg.com for sponsoring this feature)
  • Added tabs to plugin settings page
  • Moved form list to its own tab (vs the bottom of the settings screen)
  • Added syntax highlighting to defaut CSS example on new Styling tab
  • Tested and working in WordPress 3.8


  • Fixes a bug that caused the organization id field to be hidden on new installs


  • Add drop down field type (thanks jbuchbinder)
  • Improve form HTML (thanks jbuchbinder)
  • Add from and reply to options for emails (thanks jbuchbinder)
  • Add delete checkbox to form editor (thanks jbuchbinder)
  • Add HTML field type (thanks jbuchbinder)
  • Add simple checkbox field (thanks jbuchbinder)
  • Add ability to duplicate forms (thanks jbuchbinder)
  • Add WPCF7 CSS integration option (thanks jbuchbinder)
  • Add wrapper divs with class names to visible fields
  • Remove Powered by SF for all forms
  • Make required field indicator consistent with message
  • Comments to lead option (thanks simonwheatley)
  • Global DaddyAnalytics settings added to make integration easier
  • Added filters to aid in extending the plugin
  • Hide fields with no label in admin and user email
  • Required fields now trim whitespace from the value before validation (e.g. a space or tab is no longer a valid value)
  • Fixed checkbox/label alignment
  • Readme improvements
  • Added daily limit info to FAQ
  • Removed previous contributors no longer involved in plugin development, added credit to readme
  • Refactored and cleaned up codebase
  • Added filters to allow code based overrides of select features (see Other Notes for details)
  • Added Web to Case option (per form setting)
  • Fixed first field being added having a duplicate position to last field
  • Select fields can have a default value set


  • Captcha image now works on subfolder installs (e.g. /wordpress/)
  • Removed captcha dependence on including wp-load.php


  • Small formatting fixes (checkbox spacing and submit button CSS)


  • Fixed issue with captcha URL being broken on some installs
  • Added several filters, including one to allow editing of the distribution list for new lead notifications and one to allow filtering of the form HTML before output
  • Fixed bug where captcha would wrap outside form on some themes
  • Fixed bug where forms other than id 1 did not show field labels in emails
  • Fixed bug causing unexpected output upon activation
  • Fixed bug that caused form to always be in 'sidebar' mode
  • Now supports more than 1 form per page
  • Forms now have a unique ID for use with CSS and jQuery: salesforce_w2l_lead_[ID] and salesforce_w2l_lead_[ID]_sidebar
  • Fixed a bunch of notices and warnings


  • Improved internationalization
  • Multiple forms can be created and inserted via shortcode or widget
  • Spam protection (with optional captcha)
  • Fixed "Cannot use object of type WP_Error as array" bug
  • Fixed bug that showed successful submissions as "Failed to connect to SalesForce.com"
  • Hidden fields can now be used
  • Campaign_ID can now be set per form
  • Widget now hides description text upon submission
  • Admins can receive an email of submissions
  • Users can request a copy of their submission (if enabled)
  • Custom return/thanks URL can be defined per form
  • Country field added


  • Fix in backend security, preventing XSS hack in the backend.


  • CSS fix for when sidebar widget and contact form are on the same page.


  • Fix in email verification.


  • One more escape, plus a check to see whether the email address entered is valid.


  • Added escaping around several fields to prevent XSS vulnerabilities.


  • Initial release.

Requires: 3.5.2 or higher
Compatible up to: 4.3.1
Last Updated: 3 months ago
Active Installs: 8,000+


4.7 out of 5 stars


13 of 21 support threads in the last two months have been resolved.

Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 67,3,2 100,2,2 100,1,1
100,1,1 100,1,1
100,1,1 50,8,4
100,1,1 100,1,1
100,1,1 100,1,1
100,1,1 100,1,1
100,1,1 0,1,0