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
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
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