Thank you very much, I think we are almost there. I wanted it to appear before the text message and not in the subject field, as per the picture. Then I’d say we’re there.
Thank you for your helpfulness!
Goodmorning!
This is my code test:
add_filter(“avf_contact_form_autoresponder_mail”, function($mail_array, $new_post, $form_params, $class) {
$mail_array[“Textarea“] = “Hello ” . $new_post[“2_1”];
return $mail_array;
}, 10, 4);
I have replaced SUBJECT with TEXAREA!
here is the link with the contact form https://www.christianbardus.it/
Thank you
Good morning, thank you for your reply! I have tested the code and I would say we are on the right track.
I tried changing Subjet to Textarea, to have the response data within the email and not the subject.
This works but I no longer see the remaining fields entered.
Is it possible to make it so that first name and last name are present at the beginning of the textarea field,
HELLO MARCO MARCON … and then the data for the fields?
Thank you