You need to sign in to do that
Don't have an account?
bhanu_prakash
web to lead generation
Hi,
we have a website (Not Salesforce sites) when ever user enter inform data is storing in our database.
Now i want to connect to my salesforce org i need to create a lead from user information.
without distrubing my website page . how can i use web to lead form and which field i need to modify to capture information ?
=====================================================================================================
web to lead 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://webto.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8" method="POST">
<input type=hidden name="oid" value="00D280000016jv0">
<input type=hidden name="retURL" value="http://www.forcelearn.com">
<!-- ---------------------------------------------------------------------- -->
<!-- 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="bhanusunny7@gmail.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>
<input type="submit" name="submit">
</form>
====================================================================================================
Html :
<form>
<input name="name" size="30" type="text"><br> First Name:<br>
<input name="name" size="30" type="text"><br> Last Name:<br>
<input name="email" size="30" type="text"><br> Email:<br>
<input value="Send email" type="submit">
</form>
Thanks for advance
we have a website (Not Salesforce sites) when ever user enter inform data is storing in our database.
Now i want to connect to my salesforce org i need to create a lead from user information.
without distrubing my website page . how can i use web to lead form and which field i need to modify to capture information ?
=====================================================================================================
web to lead 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://webto.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8" method="POST">
<input type=hidden name="oid" value="00D280000016jv0">
<input type=hidden name="retURL" value="http://www.forcelearn.com">
<!-- ---------------------------------------------------------------------- -->
<!-- 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="bhanusunny7@gmail.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>
<input type="submit" name="submit">
</form>
====================================================================================================
Html :
<form>
<input name="name" size="30" type="text"><br> First Name:<br>
<input name="name" size="30" type="text"><br> Last Name:<br>
<input name="email" size="30" type="text"><br> Email:<br>
<input value="Send email" type="submit">
</form>
Thanks for advance
You need to include below fields in our html code
<form action="https://webto.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8" method="POST">
<input type=hidden name="oid" value="00D280000016jv0">
<input type=hidden name="retURL" value="http://www.example.com">
The oid is the your Salesforce Org Id and you will get that from setup=>company Information
retURL after successfully creating where you want to redirect.