• grotar

    (@grotar)


    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!

    https://www.ads-software.com/extend/plugins/salesforce-wordpress-to-lead/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Nick Ciske

    (@nickciske)

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

    Thread Starter grotar

    (@grotar)

    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.

    Plugin Author Nick Ciske

    (@nickciske)

    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Automatic Email Generation’ is closed to new replies.