The only important file to replace (right now, anyways) is the salesforce.php file. You can grab a copy from:
https://raw.github.com/jbuchbinder/salesforce-wordpress-to-lead/master/salesforce.php
which will be the latest version of the code. Replace the salesforce.php file, which should be:
wp-content/plugins/salesforce-wordpress-to-lead/salesforce.php
with this.
I generally don’t use w2l styling, which is why it’s missing the “clear: both;” for the new widget.
Grab another copy, it should be good as of rev:
https://raw.github.com/jbuchbinder/salesforce-wordpress-to-lead/c3f6d40e964db011664ed4081ce3e875311fc421/salesforce.php
Link does not work.Please advise further
Having the check boxes is great. I am having a problem with the check boxes passing values to salesforce. Also when the field is set as reqired and it is populated getting the error message that it needs to be populated.
I’m not sure what you mean. I’m able to access the code from that URL. You can re-download from the “master” URL above.
When I hit the submit button, no values for the check boxes pass to salesforce. All of the other values populate. I have one check box that I would like to set as required. When I set it as required I get an error telling me to complete the form, when I already have.
OK, i have downloaded the master url adn still have the same problem. I thought maybe adding options of “True|False” or “1|2” would get it to populate the check box in salesforce, but no luck. Please help.
That’s not how the INPUT “checkbox” widget works in HTML.
$content .= "\t\n\t".'<input type="checkbox" id="sf_'.$id.'" class="w2linput checkbox" name="'.$id.'" value="'.$val.'" />'."\n\n";
is the code generating the checkbox. If it’s checked, it will pass the “value” column value for that variable. If not, it passes nothing.
If you mark it as “required”, it won’t allow the form to be submitted unless that box is checked, since otherwise no value would be passed for the checkbox widget. That’s how checkboxes work.
I truly appreciate your patience. I have to be doing something wrong. I dont have any values or options populated. I am using the group edition of salesforce. I am trying to utilize it with Custom and Standard fields. What else can i provide that would help trouble shoot what I am seeing?
Verify you have the field named correctly. That’s usually the reason data doesn’t get to SF.
More Info:
http://ww.wp.xz.cn/support/topic/not-all-fields-are-transferring-to-salesforce?replies=2
That was the first think I checked. Had that issue in another salesforce instance integrated with SAP.
I figure out my issue. The value had to be populate with a “1” for the true statement.
Thanks again for the help. I still have one issue that may not be able to be addressed currently. Is there the ability to pass dates? Our Terms of Service Agreement utilizes a chack box and a date. I thought I would be able to use the history in salesforce to track the date but it does not populate form the web to lead process, only the create date.