Modify contact widget for CRM?

resolved (2 posts) (2 voices)

  1. Hi,

    I would like to add capabilities to the contact widget that will allow the contacts details to not only be emailed over, but also added to salesforce CRM. They provide this functionality, however some modifications are required to the web form.

    Below is an example of a typical "Web-to-Lead" form - I have taken a look at the contact widget php and can't quite figure out how I could make these additions myself. Please could someone help me?

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

    <input type=hidden name="oid" value="00D30000000ooo">
    <input type=hidden name="retURL" value="http://www.return-url.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="email">Email</label><input id="email" maxlength="80" name="email" size="20" type="text" />

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

    Posted 3 months ago #
  2. Elliott
    Support

    Hello cloudsuccess,

    This would have to be considered custom work. I think it would be best to hire a freelancer to help you with this customization but if you want to try and tackle it on your own the files you will need to edit are,

    /wp-content/themes/[your_theme]/lib/classes/contact.php
    /wp-content/themes/[your_theme]/lib/shortcodes/16-contact.php
    Posted 3 months ago #

Reply

You must log in to post.

Construct WordPress Theme
Construct wordpress theme
Myriad WordPress Theme
Myriad wordpress theme
Method WordPress Theme
Method wordpress theme
Fusion WordPress Theme
Fusion wordpress theme
Elegance WordPress Theme
Elegance wordpress theme
Echelon WordPress Theme
Echelon wordpress theme
Dejavu WordPress Theme
Dejavu wordpress theme
Modular WordPress Theme
Modular wordpress theme