Hi everyone;
I've read all the posts here in the forum regarding inserting leads from external forms and they have been very helpful. I too have an existing website that has a lead generation form I'm trying to tie into SugarCRM seamlessly.
I cannot post to 'leadCapture.php' because of my existing workflow, so what I've done, is incorporate 'leadCapture.php' into my form submission script. I've gone through a lot of trouble to resolve the dependencies (includes, whatnot), the "Not a valid entry point" problem, and various other errors... after hacking at it for a bit I finally get it to work, with one exception.
My single problem is this... when it says: "Thank you for your submission", the data isn't actually populating in the database.
I'm having a hard time understanding why it's not inserting into the database when everything seems to be correct. I have added some debugging code, but it all looks good - I have $userid setup as 'admin' correctly, my form data is correct (HTTP_POST_VARS says so) and the script actually says "Thank you for your submission".
I don't truly understand how "handleSave()" takes the data from the form into the database, but... I'm guessing it's not doing it properly. I've searched SugarCRM for my new leads, and they are simply not being inserted.
Any help would be appreciated.
Thank you!!


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks