If you Web-to-Lead form is not creating leads you may want to enable debugging in your form. Add the following lines to your html page:
<input type="hidden" name="debug" value=1> <input type="hidden" name="debugEmail" value="firstname.lastname@example.org">
When you click submit you may get the following message:
Reason: Your Lead could not be processed. null Lead Capture Page: Not available. Record Information: 00Ng0000000OIjv = asdasdasdsad city = Test City company = Test Company debug = 1 debugEmail = email@example.com email = firstname.lastname@example.org encoding = UTF-8 first_name = Test Name last_name = Test Last Name lead_source = Employee Referral oid = 00Dg00000008e4p phone = 4084213722 recordType = 012g00000004IkA retURL = http:// state = Test State submit = Submit
Change your action URL by specifying test for Sandbox or your instance name for Production eg: na4 Sandbox will look like this: <form action="https://test.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8" method="POST"> Production will look like this: <form action="https://na4.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8" method="POST">
2 thoughts on “Web-to-Lead Lead Not being Created – Capture Page: Not available.”
If I am entering all the fields (name, email, zip, phone), Salesforce is not capturing the lead but if I enter only name, it is being captured 😦
Any idea, what might be wrong?