Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #325034

    Hi guys,

    Is it possible to send a copy of a completed contact form to the person who filled it out? (So as well as the website owner receiving the enquiry, the person who filled out the form gets a copy of the information they have filled out.)

    I know some contact forms do this but was really hoping it could be done with the form on Enfold.

    Best, David.

    #325261

    Hey David!

    Try adding this at the very end of your theme / child theme functions.php file:

    function copy_to_sender($to, $new_post, $foo) {
    	$to[] = $new_post['e-mail_1'];
    	return $to;
    }
    add_filter('avf_form_copy', 'copy_to_sender', 10, 3);

    Cheers!
    Josue

    #325586

    Hi Josue,

    I tried adding the code to the end of the functions.php file and the whole site stopped working. Am I missing something?

    Best, David.

    #325804

    Hi David,

    Can you please create me an administrator account? post it here as a private reply.

    Regards,
    Josue

    #327142
    This reply has been marked as private.
    #327391

    Hey!

    Please update the theme and WordPress to their latest versions.

    Best regards,
    Josue

    #329801
    This reply has been marked as private.
    #330134

    Hey!
    I am having a look for you right now.
    Regards,
    Arvish

    #330158

    Hi David,

    Having had a look, the customization will unfortunately take some time to do.
    I’d recommend using a plugin like CF7 which allows you to easily set the sender email and also modify the mail that is sent.

    Regards,
    Arvish

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Contact forms’ is closed to new replies.