Results 1 to 6 of 6

Thread: Salesforce

  1. #1
    Join Date
    Feb 2008
    Posts
    10

    Default Salesforce

    Is there any way FormMail can be used to send results to salesforce?

    It would require a hidden field with the OID number:
    Code:
    <input type=hidden name="oid" value="">
    And the form has to submit to:
    Code:
    <form action="https://www.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8" method="POST" name="regForm" id="regForm">
    Thanks

  2. #2
    Join Date
    Mar 2004
    Posts
    2,224

    Default Re: Salesforce

    so, y not just do that? y do u need formmail?

  3. #3
    Join Date
    Feb 2008
    Posts
    10

    Default Re: Salesforce

    The bottom line is the OID number must be hidden and the ideal way would be to hide it in a php file. As you know having a hidden field in html does not actually hide it in the code.
    If spammers get the OID number they can submit spam to salesforce without even using the form.

    My research has found that server validation will not work with salesforce forms so unless there is a way to hide the OID number in a PHP file and then submit the results to the webtolead address this will not work.

  4. #4
    Join Date
    Mar 2004
    Posts
    2,224

    Default Re: Salesforce

    right...

    u will need some additional php code.

    u can use formmail's HOOK system (http://www.tectite.com/fmdoc/hook_dir.php) to include the code.

    basically, u need formmail to do a POST to ur salesforce URL, including the data u need.

    there's a bit of work in that, but it's possible.

    i reckon u should contact tectite to get some expert help...doing POSTS isn't trivial.

  5. #5
    Join Date
    Feb 2008
    Posts
    10

    Default Re: Salesforce

    Thanks. I'll look into this.

  6. #6
    Join Date
    Aug 2007
    Posts
    24

    Default Re: Salesforce

    I am facing the same problem. Were you ever able to get Salesforce and formail to work together?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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