The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

[Plugin: Contact Form 7] Salesforce integration (2 posts)

  1. Josh Fialkoff
    Posted 7 years ago #


    I am looking for a way to integrate Salesforce code to Contact Form 7.

    Here is the info I need to add from Salesforce:

    1) For this, I can make a separate template:

    <!-- ---------------------------------------------------------------------- -->
    <!-- NOTE: Please add the following <META> element to your page <HEAD>. -->
    <!-- If necessary, please modify the charset parameter to specify the -->
    <!-- character set of your HTML page. -->
    <!-- ---------------------------------------------------------------------- -->

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

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

    2) I am not sure how to access this code in CF7:

    <form action="https://www.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8" method="POST">

    <input type=hidden name="oid" value="00D3000000007NS">
    <input type=hidden name="retURL" value="/contact/thank-you">

    <!-- ---------------------------------------------------------------------- -->
    <!-- NOTE: These fields are optional debugging elements. Please uncomment -->
    <!-- these lines if you wish to test in debug mode. -->
    <!-- <input type="hidden" name="debug" value=1> -->
    <!-- <input type="hidden" name="debugEmail" -->
    <!-- value="---.com"> -->
    <!-- ---------------------------------------------------------------------- -->

    <label for="first_name">First Name</label><input id="first_name" maxlength="40" name="first_name" size="20" type="text" />

    <label for="last_name">Last Name</label><input id="last_name" maxlength="80" name="last_name" size="20" type="text" />

    <label for="street">Address</label><textarea name="street"></textarea>

    <label for="company">Company</label><input id="company" maxlength="40" name="company" size="20" type="text" />

    <label for="phone">Phone</label><input id="phone" maxlength="40" name="phone" size="20" type="text" />

    <label for="email">Email</label><input id="email" maxlength="80" name="email" size="20" type="text" />

    <label for="city">City</label><input id="city" maxlength="40" name="city" size="20" type="text" />

    <label for="state">State/Province</label><input id="state" maxlength="20" name="state" size="20" type="text" />

    <input type="submit" name="submit">


  2. Kevin Leary
    Posted 7 years ago #

    Noooze, did you ever figure this out?

Topic Closed

This topic has been closed to new replies.

About this Topic