jd0991 / wordpress-job-manager

Automatically exported from code.google.com/p/wordpress-job-manager
0 stars 0 forks source link

Integration with salesforce web to lead generator #594

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
This is a valuable plugin and I will definitely be donating. one enhancement 
that would be very powerful is that salesforce CRM has a web to lead capability 
and i use that to take applicants direct into my salesforce CRM database. I 
tried playing around with the HTML that their form generator spits out but 
didnt really like it. I have listed below an example of the code. If there was 
someway of giving user the option of using your own form or a crm generated form

<!--  ----------------------------------------------------------------------  
-->
<!--  NOTE: Please add the following <META> element to your page <HEAD>.      
-->
<!--  If necessary, please modify the charset parameter to specify the        
-->
<!--  character set of your HTML page.                                        
-->
<!--  ----------------------------------------------------------------------  
-->

<META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=UTF-8">

<!--  ----------------------------------------------------------------------  
-->
<!--  NOTE: Please add the following <FORM> element to your page.             
-->
<!--  ----------------------------------------------------------------------  
-->

<form 
action="https://www.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8" 
method="POST">

<input type=hidden name="oid" value="xxxxxxxxxxxxxxxx">
<input type=hidden name="retURL" value="http://">

<!--  ----------------------------------------------------------------------  
-->
<!--  NOTE: These fields are optional debugging elements. Please uncomment    
-->
<!--  these lines if you wish to test in debug mode.                          
-->
<!--  <input type="hidden" name="debug" value=1>                              
-->
<!--  <input type="hidden" name="debugEmail"                                  
-->
<!--  value="michael@xxxxxxxxxxxxx.com">                                    -->
<!--  ----------------------------------------------------------------------  
-->

<label for="first_name">First Name</label><input  id="first_name" 
maxlength="40" name="first_name" size="20" type="text" /><br>

<label for="last_name">Last Name</label><input  id="last_name" maxlength="80" 
name="last_name" size="20" type="text" /><br>

<label for="email">Email</label><input  id="email" maxlength="80" name="email" 
size="20" type="text" /><br>

<label for="company">Company</label><input  id="company" maxlength="40" 
name="company" size="20" type="text" /><br>

<label for="city">City</label><input  id="city" maxlength="40" name="city" 
size="20" type="text" /><br>

<label for="state">State/Province</label><input  id="state" maxlength="20" 
name="state" size="20" type="text" /><br>

Advertised Position:<input  id="xxxxxxxxxxxxxxx" maxlength="255" 
name="xxxxxxxxxxxxxxxxx" size="20" type="text" /><br>

Advert Ref:<input  id="xxxxxxxxxxxxxxxxx" maxlength="40" 
name="xxxxxxxxxxxxxxxxxx" size="20" type="text" /><br>

Compensation Range:<select  id="xxxxxxxxxxxxxxxx" name="xxxxxxxxxxxxxxx" 
title="Compensation Range"><option value="">--None--</option><option 
value="Upto 100,000">Upto 100,000</option>
<option value="£101,000-250,000">£101,000-250,000</option>
<option value="£250,000-350,000">£350,000-500,000</option>
</select><br>

Home Phone:<input  id="xxxxxxxxxxxxxxxxxx" maxlength="25" 
name="xxxxxxxxxxxxxxxxxx" size="20" type="text" /><br>

<label for="mobile">Mobile</label><input  id="mobile" maxlength="40" 
name="mobile" size="20" type="text" /><br>

<input type="submit" name="submit">

</form>

Original issue reported on code.google.com by m...@credentpartners.com on 13 Jan 2014 at 11:12