Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #632807

    Hello,

    this Topic was closed without a solution: https://kriesi.at/support/topic/kontaktformular-antwort-mail-andern/
    –> #407021

    I also have the issue with the true and false answer in the reply mail. Changing “false” into “nein” is easy but “true” into “ja” isn’t possible by just changing it in the class-form-generator.php file.

    Can you please help me out with this?

    Best Regards,

    David

    #633534

    Hi David!

    Thank you for using Enfold.

    Where can we find the contact page? And please provide the FTP details here so that we can check it. Try this in the functions.php file:

    add_filter('avf_form_message', 'avf_form_message_mod_checkbox', 10, 3);
    function avf_form_message_mod_checkbox($message, $new_post, $form_params) {
    	$message = str_replace('true', 'Yes', $message);
    	$message = str_replace('false', 'No', $message);
        return $message;
    }
    

    Regards,
    Ismael

    #633988

    Hi Ismael,

    this is for a customer: http://fisch-halbmair.de/angebote

    I’ve tried your solution but there’s an error then on the site.

    Best Regards,
    David

    #634889

    Hi,

    We added the code in the functions.php and we didn’t get an error. Please post the WP details here as well so that we can check the content of the email.

    Best regards,
    Ismael

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.