DaScSh Posted October 7, 2008 Share Posted October 7, 2008 The Situation: I have a form on my website to collect information from visitors who may want additional information. On Submit, they are taken to a php page on my site where the data is scrubbed, verified, I'm emailed with a notice for the request, and the visitor is taken to one of a number of different thank you pages, depending on what combination of additional information they request (e.g., brochure, call, newsletter subscription). In addition, I want to use SalesForce.com to collect the information so that I can manage my sales leads. The Problem: How do I get the form data to SalesForce.com after it has been processed by my php page? SalesForce has given me the basic form input and submit data code, but that is designed for direct submission from the html form. I want my data first scrubbed and validated per my php page and people taken to different thank you pages (for a customized thank you and for analytics, which is not an option using the standard SalesForce code), and then have the data submitted to SalesForce. Any suggestions would be greatly appreciated. Thank you. Link to comment https://forums.phpfreaks.com/topic/127410-1-form-2-php-processing-pages/ Share on other sites More sharing options...
Orio Posted October 7, 2008 Share Posted October 7, 2008 You could send a cURL request to SalesForce with the post data, within your processing script. Orio. Link to comment https://forums.phpfreaks.com/topic/127410-1-form-2-php-processing-pages/#findComment-659061 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.