Difference between revisions of ":SF Web2Lead Testbed"
(→Production) |
|||
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
=SF Web2Lead Testbed= | =SF Web2Lead Testbed= | ||
− | + | ==Sandbox== | |
− | ==Test 1== | + | ===Test 1=== |
<html><!-- ---------------------------------------------------------------------- --> | <html><!-- ---------------------------------------------------------------------- --> | ||
<!-- NOTE: Please add the following <META> element to your page <HEAD>. --> | <!-- NOTE: Please add the following <META> element to your page <HEAD>. --> | ||
Line 124: | Line 124: | ||
</form> | </form> | ||
</html> | </html> | ||
− | ==Test 2== | + | ===Test 2=== |
+ | *Hidden Field = "Lead Source = Web" | ||
+ | *Restricted Country to US, Mexico, or Canada | ||
+ | |||
+ | <html><!-- ---------------------------------------------------------------------- --> | ||
+ | <!-- 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://test.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8" method="POST"> | ||
+ | |||
+ | <input type=hidden name="oid" value="00D5D0000004qKw"> | ||
+ | <input type=hidden name="retURL" value="http://"> | ||
+ | <input type=hidden name="lead_source" value="Web"> | ||
+ | |||
+ | <!-- ---------------------------------------------------------------------- --> | ||
+ | <!-- 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="wu_bin5@dahuatech.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="phone">Phone</label><input id="phone" maxlength="40" name="phone" 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="zip">Zip</label><input id="zip" maxlength="20" name="zip" size="20" type="text" /><br> | ||
+ | |||
+ | Business Type:<select id="00N2800000IQLru" name="00N2800000IQLru" title="Business Type"><option value="">--None--</option><option value="A&E">A&E</option> | ||
+ | <option value="Dealer">Dealer</option> | ||
+ | <option value="Distributor">Distributor</option> | ||
+ | <option value="Retailer">Retailer</option> | ||
+ | <option value="End User">End User</option> | ||
+ | <option value="Others">Others</option> | ||
+ | <option value="Micro-OEM">Micro-OEM</option> | ||
+ | <option value="E-Commerce">E-Commerce</option> | ||
+ | <option value="Value Added Distributor">Value Added Distributor</option> | ||
+ | <option value="Installer">Installer</option> | ||
+ | <option value="3rd-Party">3rd-Party</option> | ||
+ | <option value="Consultant">Consultant</option> | ||
+ | </select><br> | ||
+ | |||
+ | Customer_Type:<select id="00N280000031BhP" name="00N280000031BhP" title="Customer_Type"><option value="">--None--</option><option value="A&E">A&E</option> | ||
+ | <option value="SI">SI</option> | ||
+ | <option value="Installer">Installer</option> | ||
+ | <option value="Dealer">Dealer</option> | ||
+ | <option value="Distributor">Distributor</option> | ||
+ | <option value="Retailer">Retailer</option> | ||
+ | <option value="End User">End User</option> | ||
+ | <option value="Others">Others</option> | ||
+ | <option value="Micro-OEM">Micro-OEM</option> | ||
+ | <option value="3rd-Party">3rd-Party</option> | ||
+ | <option value="E-Commerce">E-Commerce</option> | ||
+ | <option value="Integrator">Integrator</option> | ||
+ | <option value="Reseller – Catalog/mail-order">Reseller – Catalog/mail-order</option> | ||
+ | <option value="Reseller – Electronic retail store">Reseller – Electronic retail store</option> | ||
+ | <option value="Reseller – E-tailer/Web store">Reseller – E-tailer/Web store</option> | ||
+ | <option value="Reseller – Value-added reseller">Reseller – Value-added reseller</option> | ||
+ | <option value="Installer – Cabling & electrical">Installer – Cabling & electrical</option> | ||
+ | <option value="Installer – IT, Telco & Networks">Installer – IT, Telco & Networks</option> | ||
+ | <option value="Installer – Security & alarm">Installer – Security & alarm</option> | ||
+ | <option value="System Integrator – Alarm monitoring center">System Integrator – Alarm monitoring center</option> | ||
+ | <option value="System Integrator – Building management">System Integrator – Building management</option> | ||
+ | <option value="System Integrator – IT, Telco & Networks">System Integrator – IT, Telco & Networks</option> | ||
+ | <option value="System Integrator – Security">System Integrator – Security</option> | ||
+ | <option value="OBM">OBM</option> | ||
+ | <option value="ODM">ODM</option> | ||
+ | <option value="OEM">OEM</option> | ||
+ | <option value="Consultant">Consultant</option> | ||
+ | </select><br> | ||
+ | |||
+ | <label for="country_code">Country</label><select id="country_code" name="country_code"><option value="">--None--</option> | ||
+ | <option value="CA">Canada</option> | ||
+ | <option value="MX">Mexico</option> | ||
+ | <option value="US">United States</option> | ||
+ | </select><br> | ||
+ | |||
+ | <input type="submit" name="submit"> | ||
+ | |||
+ | </form> | ||
+ | </html> | ||
+ | ===Test 3=== | ||
+ | *Hidden Field = "Lead Source = Web" | ||
+ | *Restricted Country to US, Mexico, or Canada | ||
+ | *Added, "Account Remarks" field | ||
+ | |||
<html><!-- ---------------------------------------------------------------------- --> | <html><!-- ---------------------------------------------------------------------- --> | ||
<!-- NOTE: Please add the following <META> element to your page <HEAD>. --> | <!-- NOTE: Please add the following <META> element to your page <HEAD>. --> | ||
Line 207: | Line 307: | ||
</select><br> | </select><br> | ||
− | <label for="country_code">Country</label><select id="country_code" name="country_code"><option value="">--None-- | + | <label for="country_code">Country</label><select id="country_code" name="country_code"><option value="">--None--</option> |
− | <option value="CA"> | + | <option value="CA">Canada</option> |
− | <option value="MX"> | + | <option value="MX">Mexico</option> |
− | <option value="US"> | + | <option value="US">United States</option> |
</select><br> | </select><br> | ||
+ | |||
+ | Comments or Questions:<textarea id="00N280000031AgI" name="00N280000031AgI" type="text" wrap="soft"></textarea><br> | ||
<input type="submit" name="submit"> | <input type="submit" name="submit"> | ||
Line 217: | Line 319: | ||
</form> | </form> | ||
</html> | </html> | ||
+ | |||
+ | ==Production== | ||
+ | The section has been deactivated until further notice. | ||
+ | ===Test 1=== | ||
+ | |||
+ | <!-- ---------------------------------------------------------------------- --> | ||
+ | <!-- 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="00D28000000VTpA"> | ||
+ | <input type=hidden name="retURL" value="http://"> | ||
+ | <input type=hidden name="lead_source" value="Web"> | ||
+ | |||
+ | <!-- ---------------------------------------------------------------------- --> | ||
+ | <!-- 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="wu_bin5@dahuatech.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="phone">Phone</label><input id="phone" maxlength="40" name="phone" 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="zip">Zip</label><input id="zip" maxlength="20" name="zip" size="20" type="text" /><br> | ||
+ | |||
+ | Business Type:<select id="00N2800000IQLru" name="00N2800000IQLru" title="Business Type"><option value="">--None--</option><option value="A&E">A&E</option> | ||
+ | <option value="Dealer">Dealer</option> | ||
+ | <option value="Distributor">Distributor</option> | ||
+ | <option value="Retailer">Retailer</option> | ||
+ | <option value="End User">End User</option> | ||
+ | <option value="Others">Others</option> | ||
+ | <option value="Micro-OEM">Micro-OEM</option> | ||
+ | <option value="E-Commerce">E-Commerce</option> | ||
+ | <option value="Value Added Distributor">Value Added Distributor</option> | ||
+ | <option value="Installer">Installer</option> | ||
+ | <option value="3rd-Party">3rd-Party</option> | ||
+ | <option value="Consultant">Consultant</option> | ||
+ | </select><br> | ||
+ | |||
+ | Customer_Type:<select id="00N280000031BhP" name="00N280000031BhP" title="Customer_Type"><option value="">--None--</option><option value="A&E">A&E</option> | ||
+ | <option value="SI">SI</option> | ||
+ | <option value="Installer">Installer</option> | ||
+ | <option value="Dealer">Dealer</option> | ||
+ | <option value="Distributor">Distributor</option> | ||
+ | <option value="Retailer">Retailer</option> | ||
+ | <option value="End User">End User</option> | ||
+ | <option value="Others">Others</option> | ||
+ | <option value="Micro-OEM">Micro-OEM</option> | ||
+ | <option value="3rd-Party">3rd-Party</option> | ||
+ | <option value="E-Commerce">E-Commerce</option> | ||
+ | <option value="Integrator">Integrator</option> | ||
+ | <option value="Reseller – Catalog/mail-order">Reseller – Catalog/mail-order</option> | ||
+ | <option value="Reseller – Electronic retail store">Reseller – Electronic retail store</option> | ||
+ | <option value="Reseller – E-tailer/Web store">Reseller – E-tailer/Web store</option> | ||
+ | <option value="Reseller – Value-added reseller">Reseller – Value-added reseller</option> | ||
+ | <option value="Installer – Cabling & electrical">Installer – Cabling & electrical</option> | ||
+ | <option value="Installer – IT, Telco & Networks">Installer – IT, Telco & Networks</option> | ||
+ | <option value="Installer – Security & alarm">Installer – Security & alarm</option> | ||
+ | <option value="System Integrator – Alarm monitoring center">System Integrator – Alarm monitoring center</option> | ||
+ | <option value="System Integrator – Building management">System Integrator – Building management</option> | ||
+ | <option value="System Integrator – IT, Telco & Networks">System Integrator – IT, Telco & Networks</option> | ||
+ | <option value="System Integrator – Security">System Integrator – Security</option> | ||
+ | <option value="OBM">OBM</option> | ||
+ | <option value="ODM">ODM</option> | ||
+ | <option value="OEM">OEM</option> | ||
+ | <option value="Consultant">Consultant</option> | ||
+ | </select><br> | ||
+ | |||
+ | <label for="country_code">Country</label><select id="country_code" name="country_code"><option value="">--None--</option> | ||
+ | <option value="CA">Canada</option> | ||
+ | <option value="MX">Mexico</option> | ||
+ | <option value="US">United States</option> | ||
+ | </select><br> | ||
+ | |||
+ | <input type="submit" name="submit"> | ||
+ | |||
+ | </form> |
Latest revision as of 17:30, 25 January 2018
Contents
SF Web2Lead Testbed
Sandbox
Test 1
Test 2
- Hidden Field = "Lead Source = Web"
- Restricted Country to US, Mexico, or Canada
Test 3
- Hidden Field = "Lead Source = Web"
- Restricted Country to US, Mexico, or Canada
- Added, "Account Remarks" field
Production
The section has been deactivated until further notice.
Test 1
<META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=UTF-8">
<form action="https://webto.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8" method="POST">
<input type=hidden name="oid" value="00D28000000VTpA"> <input type=hidden name="retURL" value="http://"> <input type=hidden name="lead_source" value="Web">
<label for="first_name">First Name</label><input id="first_name" maxlength="40" name="first_name" size="20" type="text" />
<label for="last_name">Last Name</label><input id="last_name" maxlength="80" name="last_name" size="20" type="text" />
<label for="email">Email</label><input id="email" maxlength="80" name="email" size="20" type="text" />
<label for="phone">Phone</label><input id="phone" maxlength="40" name="phone" size="20" type="text" />
<label for="company">Company</label><input id="company" maxlength="40" name="company" size="20" type="text" />
<label for="city">City</label><input id="city" maxlength="40" name="city" size="20" type="text" />
<label for="zip">Zip</label><input id="zip" maxlength="20" name="zip" size="20" type="text" />
Business Type:<select id="00N2800000IQLru" name="00N2800000IQLru" title="Business Type"><option value="">--None--</option><option value="A&E">A&E</option>
<option value="Dealer">Dealer</option>
<option value="Distributor">Distributor</option>
<option value="Retailer">Retailer</option>
<option value="End User">End User</option>
<option value="Others">Others</option>
<option value="Micro-OEM">Micro-OEM</option>
<option value="E-Commerce">E-Commerce</option>
<option value="Value Added Distributor">Value Added Distributor</option>
<option value="Installer">Installer</option>
<option value="3rd-Party">3rd-Party</option>
<option value="Consultant">Consultant</option>
</select>
Customer_Type:<select id="00N280000031BhP" name="00N280000031BhP" title="Customer_Type"><option value="">--None--</option><option value="A&E">A&E</option>
<option value="SI">SI</option>
<option value="Installer">Installer</option>
<option value="Dealer">Dealer</option>
<option value="Distributor">Distributor</option>
<option value="Retailer">Retailer</option>
<option value="End User">End User</option>
<option value="Others">Others</option>
<option value="Micro-OEM">Micro-OEM</option>
<option value="3rd-Party">3rd-Party</option>
<option value="E-Commerce">E-Commerce</option>
<option value="Integrator">Integrator</option>
<option value="Reseller – Catalog/mail-order">Reseller – Catalog/mail-order</option>
<option value="Reseller – Electronic retail store">Reseller – Electronic retail store</option>
<option value="Reseller – E-tailer/Web store">Reseller – E-tailer/Web store</option>
<option value="Reseller – Value-added reseller">Reseller – Value-added reseller</option>
<option value="Installer – Cabling & electrical">Installer – Cabling & electrical</option>
<option value="Installer – IT, Telco & Networks">Installer – IT, Telco & Networks</option>
<option value="Installer – Security & alarm">Installer – Security & alarm</option>
<option value="System Integrator – Alarm monitoring center">System Integrator – Alarm monitoring center</option>
<option value="System Integrator – Building management">System Integrator – Building management</option>
<option value="System Integrator – IT, Telco & Networks">System Integrator – IT, Telco & Networks</option>
<option value="System Integrator – Security">System Integrator – Security</option>
<option value="OBM">OBM</option>
<option value="ODM">ODM</option>
<option value="OEM">OEM</option>
<option value="Consultant">Consultant</option>
</select>
<label for="country_code">Country</label><select id="country_code" name="country_code"><option value="">--None--</option>
<option value="CA">Canada</option>
<option value="MX">Mexico</option>
<option value="US">United States</option>
</select>
<input type="submit" name="submit">
</form>