SF Contact Form

SF Contact Form is a WordPress plugin that provides a contact form for a WordPress website which integrates with the SalesForce.com web-2-lead function which allows the creation of leads in the SalesForce CRM system automatically from a user submitted contact form.

How it works:

SF Contact Form generates a contact form with name, email address, phone number and message fields. When a user submits, this is sent via Curl to SalesForce.com and inserted into your CRM account as a new lead.

So you will need Curl working on your hosting account, and a Salesforce.com account that has the web to lead function (a group or above account).

Download verion 0.2.0 of SF Contact Form (524)

Some notes on Web 2 Lead:

Plans for next versions:

RSS feed | Trackback URI

33 Comments »

Comment by roei Subscribed to comments via email
2009-05-24 00:27:06

hi,

If I want to install the form without using your crm, is that possible?

Roei

 
Comment by Ronan Subscribed to comments via email
2009-05-24 00:45:51

Hi Roei

Thanks for stopping by.
The form is designed to work with SalesForce CRM: http://www.salesforce.com/. If you are not using SalesForce, then I would advise you to try an alternative contact form plugin.

 
Comment by James Subscribed to comments via email
2009-06-01 07:13:51

What is Curl? Why is it needed for this plugin to work?

 
Comment by Ronan Subscribed to comments via email
2009-06-01 12:44:26

Hi James

Curl is a php library, primarily used for making secure connections to other websites, servers etc. In the case of SF Contact form, it is used to make a secure connection between the website where the plugin is installed, and the SalesForce website.

These days it is pretty much standard, so most likely already on your hosting environment if you have php. http://php.net/manual/en/intro.curl.php

 
Comment by Geoff
2009-06-08 12:02:02

Any chance you could make a plugin for Sugar CRM?

 
Comment by James Subscribed to comments via email
2009-06-18 13:36:59

I’ve downloaded the plug-in and I cannot figure out how to implement the it through the WP navigation.

 
Comment by James Subscribed to comments via email
2009-06-29 12:24:11

I have the form working, now I need to add more fields how can do that?

 
Comment by James Subscribed to comments via email
2009-07-06 13:22:02

Hello can anyone help? I have the plugin working on my blog, how can I add more fields?

 
Comment by Lis
2009-07-14 07:36:56

Hey Ronan,
I’m trying to implement this plugin for a client of mine. I have followed the instructions to the letter and the form responds correctly but we’re not getting any information on his SalesForce account. He’s using BlueHost and I’ve verified they have curl installed. Is there anything else I’m missing? Something on the SalesForce side maybe?

Thanks for any support you can offer, in advance ;)
Brian

 
Comment by James Subscribed to comments via email
2009-07-14 07:39:40

Is it possible to add more form fields? How can I do that?

 
Comment by Kevin
2009-07-22 07:55:40

Thanks for this Ronan,

I have an upcoming project that I may be using this plugin for. I’ll likely need to add a significant amount of fields to sf-contactform.php to get it working. Do you have any plans for releasing a version that eases the addition of custom form fields? I can always add them manually, I’m just wondering if I should hold off for the next release before digging into the PHP.

Thanks again, this plugin looks truly promosing. If all goes well I’ll plan to give it a good rating in the Codex.

 
Comment by Ronan Subscribed to comments via email
2009-07-22 12:56:11

Hi folks,

Apologies for not getting back sooner. Been a rough month with a lot of work on.

@Geoff – I guess the fact I am so busy right now answers that one! I doubt I would be able to do one for SugarCRM any time soon but I will keep it in mind.

@James – glad you got it installed, sorry I couldn’t help at the time. In relation to more fields, I knew when I was developing it that this would crop up. At the moment, the fields are hard coded in, so changing them means modifying the code. I would like to change this so users can configure what fields the form displays, but that may be a month away. If I get a chance at the weekend, I may have a bash at getting this started.

@Brian – Are you still having problems?

@Kevin – I might have a bash at at least putting in a framework that allows you to set the fields as options. Will update this page if I do.

 
Comment by Lis
2009-07-22 13:02:32

Hey Ro-
For some reason I wasn’t able to get it to work. I was able to grab some code from SF which does work. It uses iframe coding so it’s not as ideal as your plugin would have been. But none the less it was a solution that’s working and looks good.
Best of luck to you.

 
Comment by Michael
2009-07-23 11:39:09

I am on wordpress 2.8.2.

Got this error message on activating the plugin:
Warning: setcookie() expects at most 6 parameters, 7 given in /var/www/vhosts/wirelessworldag.com/httpdocs/wp-content/plugins/sf-contact-form/sf-contactform.php on line 36

Maybe this has to do with another plugin: qtranslate

It would be nice, to add custom fields and also to be able to change the CSS of the input form.

Also, it would be nice to validate the fields before submitting them so that you have only valid data in the Lead.

 
Comment by francesco
2009-07-27 07:50:06

Hi, is it possible use it for different mail ?

 
Comment by Mark Slatin Subscribed to comments via email
2009-07-28 11:44:47

Thanks for your tip via Linked In.

We uploaded the plugin for SF Contact form. We got an error message:

Cannot load sf-contact-form/options-sfcontactform.php.

It won’t let us go any further.

Can you pleassssseeee help?

Thanks again,

Mark

 
Comment by Alex Subscribed to comments via email
2009-08-19 09:41:03

Hi Ronan,

I’ve got your contact form installed and configured (or so I think), but I keep getting this error attached to the emails:
“WARNING: SalesForce Lead was not generated due to an error. Check your Org ID is set in options”

I’ve checked, the OID is indeed set and correct. We’ve used the web2lead service before, so that’s not the problem either. Any ideas?

Alex

 
Comment by alawdia
2009-11-09 05:30:06

How are you? buy nolvadex on sale http://www.stumbleupon.com/stumbler/med-brother/ buy clenbuterol nolvadex online Thank you.

Could you spare me a moment? buy nolvadex drug buy nolvadex uk
buy nolvadex on the net I hope we’ll meet again.

 
Comment by Paul Guckian
2009-11-09 05:36:40

I was looking for the same answer as above, “how do I install this?” I found it at http://wordpress.org/extend/plugins/sf-contact-form/faq/.. Cutting and pasting…

How do I add the contact form to a post/page?
You need to add the to the body of the post/page in the editors HTML mode.

Is there a way we can put this in a widget so we can drag and drop it into the page?

 
Comment by Paul Guckian
2009-11-09 09:40:00

I’m afraid that I gave up on the plugin.

I wrote my own widget using the Salesforce code (provided by Salesforce.com) and a few forums. Learned a lot actually about how it all works. A lot of respect for the plugin development as its a lot more advanced than mine. If you finalise it with the next step of a widget with parameters, then it’ll be fantastic

Comment by Steve
2010-03-30 23:50:54

Hi Paul,

I’d be interested in your widget. I’m not a programmer and want something that is fairly simple and quick to implement.

Steve

 
 
Comment by Ronan Subscribed to comments via email
2009-11-09 19:59:24

Hey Paul

Thanks for your feedback. If I do get a chance to do more work on it, I will look at a widget all right.

If anyone else still needs help, I might actually have a bit of spare time this week (amazingly!) so feel free to ask!

Thanks

Ronan

Comment by Steve
2010-03-30 23:53:38

Hi Ronan,

I’m interested in getting some help with a web2lead from a clients wordpress website to salesforce group.

Please feel free to contact and let me know the best way.

Steve

 
 
Comment by James Subscribed to comments via email
2009-11-10 08:26:50

Is is possible yet to add custom fields?

 
Comment by ranjith Subscribed to comments via email
2009-11-18 23:15:22

how can i make fields mandatory and adding custom fields in this form

 
Comment by Saraswati Subscribed to comments via email
2009-12-07 12:31:39

Hi. I just installed your plugin and had no problem getting the form to load onto the page but no luck getting the lead into my salesforce CRM when I tested it. Your thoughts? I’m using bluehost and a previous user confirmed that they have curl, whatever that means. Would appreciate your help!

Thanks!

 
Comment by Lacey Subscribed to comments via email
2010-01-05 10:25:44

Hey Ronan,

I have downloaded and tried to activate this plug-in in WP but I keep getting this:

Parse error: syntax error, unexpected $end in /data/17/1/59/160/1711160/user/1846612/htdocs/eblog/wp-content/plugins/sf-contact-form/sf-contactform.php on line 474

Please advise, this is for a client.

Lacey

 
Comment by Jason Subscribed to comments via email
2010-01-08 16:48:13

Ronan,

Been trying to get cforms to talk to SalesForce for about a week and it’s driving me insane. Your plugin worked first time and appears to be a godsend, EXCEPT… we have to be able to add additional/custom fields to the form in order to make our SF leads valid.

Any timeframe for adding this functionality, or perhaps some instructions on how to accomplish it in the code?

Thanks!

 
Comment by James Subscribed to comments via email
2010-03-31 11:36:15

Last July you mention the possibility of adding different fields to the forms. Is that possible?

james

 
Comment by JP Subscribed to comments via email
2010-04-16 13:34:31

I have the plugin installed but there is no validation. I can submit w/ out filling out any fields. I’ve changed these lines, updated the file, but it still submits w/ out any info in the fields.

//$lname_required = false;
$name_required = false;
$email_required = true;
$phone_required = false;
$msg_required = false;

Is there somewhere else I need to edit this? And why is there a (1) put after the field I’ve marked required on the form? Thanks so much for your work, and my n00b question.

 
Name (required)
E-mail (required - never shown publicly)
URI
Subscribe to comments via email
Your Comment (smaller size | larger size)
You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> in your comment.

Trackback responses to this post