SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Jan 2009
    0 Post(s)
    0 Thread(s)

    Integrating PHP Forms with

    Hello all.

    I have an existing HTML form on my site that uses PHP for validation and processing (processes fields and parses data) and then emails to me.

    I'm trying to integrate into Salesforce Group Edition (web-to-lead), but the code requires a different char type:

    <META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=UTF-8">

    <!-- ---------------------------------------------------------------------- -->
    <!-- NOTE: Please add the following <FORM> element to your page. -->
    <!-- ---------------------------------------------------------------------- -->

    <form action="" method="POST">

    My current form calls a php file (validation.php), which validates, processes the fields and variables and displays the thank-you message or error. It does not leave the original HTML page.

    How would I get this to still send the email (and down the road I will want it to go to MySQL anyway) and still populate Salesforce.

    Any ideas?

    BTW - my version does not allow any AppExchange (I used my only one).

  2. #2
    Follow Me On Twitter: @djg gold trophysilver trophybronze trophy Dan Grossman's Avatar
    Join Date
    Aug 2000
    Philadephia, PA
    1 Post(s)
    0 Thread(s)
    Use cURL to POST the data that was POSTed to you to that URL from your validation.php script.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts