function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Apex Code DevelopmentApex Code Development 

Unable to know the reason why Web to Lead form is not working

Hello,

 

I went into the web to lead section of Salesforce and generated the code that is attached in two files. I gave this code to a third party vendor/marketing company so that they can put our Salesforce web to lead generated code on their website so that students can go to their website and fill our form. We tested this on 6/27 and it was successful, meaning the company got a message--- automatically generated by Salesforce?---that the test student has successfully submitted the form. A month later, they tested again on 7/27, but this time they got the message below and they feel that it did not go through successfully.

 

They want to be able to know every time the student successfully submits the form so that they can charge us for every student that goes to their site and completes the form.

 

Please help….

 

Thank you

 

Jagadeesh K.

 

 

Post Data:

 

oid=00R70******i&retURL=http%3A%2F%2Fwww.focre.com&lead_source=Web2lead%3A+CSFS+All+Star+Directories&first_name=la+tonya&last_name=moore&00N50000001Ybs4=FA&00N50000001YbsJ=2012&00N5000000290Ro=College+-+Some+Graduate+Work&00N5000000290Ry=Afternoon&email=mlatonya72%40yahoo.com&00N50000001Ybwi=PsyD+in+Forensic+Psychology&street=P.O.+Box+734&city=Inglewood&state=CA&zip=90307&phone=&00N500000026HeG=3236913151

 

Your System’s response:

 

Code: 200 OK

[

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>

<head>

<meta HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">

<meta http-equiv="Refresh" content="0; URL=http://www.force.com">

</head>

<script>

var escapedHash = '';

var url = 'http://www.force.com';

if (window.location.hash) {

   escapedHash = '%23' + window.location.hash.slice(1);

}

if (window.location.replace){

window.location.replace(url + escapedHash);

} else {;

window.location.href = url + escapedHash;

}

</script>

</html>

]