Results 1 to 3 of 3

Thread: Web-to-lead Email alert KB article

  1. #1
    TheChef is offline Member
    Join Date
    Dec 2008
    Posts
    12

    Post Web-to-lead Email alert KB article

    Hi there,

    Just wanted to report a finding.

    The article below shows you how to create a workflow (Pro/Ent) for Leads created solely from the web-to-lead form, rather than all new Leads.

    http://kb.sugarcrm.com/app/workflows...-to-lead-form/

    Basically this article appears to assume that the value of the Lead Source field = "Campaign", for all Leads created by the web-to-lead form.

    However, this is not the case and the workflow does not work automatically.

    It looks like you need to add the extra html code below to the form, to pass the hidden value (Lead Source = "Campaign") through the form.

    Code:
    <tr><td style="display: none;"><input id="lead_source" name="lead_source" value="Campaign" type="hidden"></td></tr>
    Place this code near the other hidden fields in the form (similar code).

    Then all Leads created by the form will automatically have their Lead Source value set to "Campaign", and you can run workflows accordingly for those Leads only.

    Hope that helps. I'm not sure if Sugar's web-to-lead forms are automatically supposed to pass the Lead Source field. If so, it may be worth someone looking into that for the next version.

    But in the meantime, if anyone could amend the article it would be great. I would have added this to the article, but comments are closed.

  2. #2
    dreverri is offline Advanced Support Engineer
    Join Date
    Jul 2007
    Posts
    11

    Default Re: Web-to-lead Email alert KB article

    Thank you for pointing this out. I've added a new article to explain adding hidden fields to lead capture forms. I've linked this new article to the auto-responder article.

    Adding Lead Source as a Hidden Field to WebToLead Capture Forms
    http://kb.sugarcrm.com/custom/forms/...capture-forms/

  3. #3
    TheChef is offline Member
    Join Date
    Dec 2008
    Posts
    12

    Default Re: Web-to-lead Email alert KB article

    Ah nice!

    No problem, glad to help

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Email Alert Templates
    By chrislynch8 in forum Help
    Replies: 0
    Last Post: 2009-10-05, 04:31 PM
  2. Email Alert Templates
    By bmueller in forum Help
    Replies: 3
    Last Post: 2006-10-03, 11:59 PM
  3. email alert
    By markybob in forum General Discussion
    Replies: 0
    Last Post: 2006-06-07, 06:22 PM
  4. Email alert when Lead entered...
    By SuperFlies in forum Feature Requests
    Replies: 4
    Last Post: 2005-06-06, 11:06 PM

Tags for this Thread

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
  •