WordPress-to-lead for Salesforce CRM
Automatic Email Generation (4 posts)

  1. grotar
    Posted 3 years ago #

    I am trying to get the form to generate an email to the user who just submitted their data to us. I know there is a autoreply based on a button that can be activated for all wp to sf forms, but I just want it for one of three forms and automatically generated as the autoemail is to the admin address.

    Even if it is not a feature, any help, such as a jquery workaround would be helpful.



  2. Nick Ciske
    Plugin Author

    Posted 3 years ago #

    You want the checkbox checked by default, but for certain forms only?

  3. grotar
    Posted 3 years ago #

    Without getting verbose. We have three forms, a contact form, a membership form, and a quick newsletter sign-up/email capture form. The email capture form is where we want the email to be auto generated upon clicking the submit button and submitting a users data (first name, last name, email address). We have a specific email that goes to the user and do not want it to be used by the other two forms.

    I know the plug in has no ability to do this, other than a standard message for all three with a button for the user to ask for an email confirmation.

    I guess i am becoming verbose. I know the data goes directly to sales force, so the email address would have to be captured upon the submit and send the email to the user before it gets to sales force. At least that is the way I worked it out.

  4. Nick Ciske
    Plugin Author

    Posted 3 years ago #

    jQuery can't send email so that won't help.

    Alas, there's no after submit hook in the plugin either (yet! it could really use some hooks and filters to make it more extensible).

    You could hook into a standard WP hook like... say... wp_head or wp_footer and look for a successful form submit (i.e. check the $_POST variable) and send the email from there.

    At least until I can get around to adding a sfwp2l_form_success hook.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WordPress-to-lead for Salesforce CRM
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic