WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. grotar
    Member
    Posted 1 year 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.

    thanks!

    http://wordpress.org/extend/plugins/salesforce-wordpress-to-lead/

  2. Nick Ciske
    Member
    Plugin Author

    Posted 1 year ago #

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

  3. grotar
    Member
    Posted 1 year 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
    Member
    Plugin Author

    Posted 1 year 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

About this Topic