Tagged: CONTACT FORM
-
AuthorPosts
-
August 3, 2016 at 1:41 am #667886
Hi There,
Would appreciate help/guidance about problem with Enfold Contact Form – Email Subject Field.
Have added “Welcome To Our VIP Club” as the Email Subject Field but when the Contact Form is completed and submitted the sent Email Subject Field in the recipients received email reads “Thank you for your Message!” rather that the desired subject line “Welcome To Our VIP Club”
Is there a bug in the from field?
Thanks in advance for your help.
Dave
August 3, 2016 at 2:06 pm #668027Hi davegibb!
Please edit your contact form and change “Message Sent label” to “Welcome To Our VIP Club”. I logged in to your site but your landing page cannot be found on my end.
Regards,
YigitAugust 3, 2016 at 5:53 pm #668198Yiget
I cant see the “Message Sent label” you refer to within the contact from admin.
Also the upon submission contact form no longer seems to be sending out the Autorespond Email/Text to the user email address that has been entered into the form but a summary email is being sent to the designated site owner.Regards
Dave- This reply was modified 8 years, 3 months ago by davegibb.
August 4, 2016 at 12:47 am #668325Also the upon submission contact form no longer seems to be sending out the Autorespond Email/Text to the user email address that has been entered into the form but a summary email is being sent to the designated site owner.
August 9, 2016 at 2:26 am #670120Hi,
Could you please provide a screenshot of the issue? The default E-Mail Subject text should look something like this:
New Message (sent by contact form at Utilis Products)
Please check this short documentation: http://kriesi.at/documentation/enfold/my-contact-form-is-not-sending-emails/
Best regards,
IsmaelFebruary 22, 2018 at 9:30 pm #916349Hello, the email subject of the message received by the user cannot be customized as it defaults to “Thank you for your Message!”.
Could this be included as a field for the Contact Form in ALB?
@Yigit made reference to this above as the “Message Sent label” but that does not seem to be a field on the Contact Form element.++Tx
PeterFebruary 23, 2018 at 8:13 pm #916834Hi,
All the modifications that we support are listed here
https://github.com/KriesiMedia/enfold-library/tree/master/actions%20and%20filters/ALB%20Elements/Contact%20FormYou can use anything you need from there.
Best regards,
BasilisFebruary 23, 2018 at 11:55 pm #916923Thanks @Basilis. I am sorry but I don’t know what you mean. What do I find at that link that relates to the subject line “Thank you for your Message!” not being a parameter on the contact form?
++Tx
PeterFebruary 26, 2018 at 4:15 am #917653Hi,
Hello, the email subject of the message received by the user cannot be customized as it defaults to “Thank you for your Message!”.
Please use this filter to replace the default autoresponder subject.
add_filter('avia_contact_form_args', 'avia_contact_form_args_mod', 10, 2); function avia_contact_form_args_mod($form_args, $post_id){ $form_args['subject'] = 'My custom form subject.'; return $form_args; }
Best regards,
IsmaelMarch 1, 2018 at 8:57 pm #919877Hello @ismael,
This code changes the subject line of the message that arrives to the administrator of the site, not the message that’s sent to the user. Hence, user still receives default “Thank you for your message!” and the above code overwrites the “E-Mail Subject” entered on Contact Form element in ALB.
Can you please double check?
++Tx,
PeterMarch 2, 2018 at 12:20 pm #920269Hi,
The autoresponder subject should default to the value of the “autoresponder_subject” parameter. Please try this filter instead.
add_filter('avia_contact_form_args', 'avia_contact_form_args_mod', 10, 2); function avia_contact_form_args_mod($form_args, $post_id) { $form_args['autoresponder_subject'] = 'My custom autoresponsder subject.'; return $form_args; }
Best regards,
IsmaelMarch 2, 2018 at 1:11 pm #920308Thanks @ismael. It works! Added feature request for this to be edited from the ALB.
Cheers,
PeterMarch 3, 2018 at 9:39 am #920709Hi Peter,
Glad we could help :)
If you need further assistance please let us know.
Best regards,
VictoriaOctober 4, 2019 at 5:38 pm #1145033Hi all,
I am having the same issue. Could you please let me know where I need to add this filter that you mentioned as a solution… in which PHP file?
add_filter(‘avia_contact_form_args’, ‘avia_contact_form_args_mod’, 10, 2);
function avia_contact_form_args_mod($form_args, $post_id) {
$form_args[‘autoresponder_subject’] = ‘My custom autoresponsder subject.’;
return $form_args;
}Thanks
Emmy- This reply was modified 5 years, 1 month ago by Emmygraph.
October 4, 2019 at 10:04 pm #1145138Hi Emmy,
You need to add it to the functions.php file in your child theme.
Best regards,
VictoriaOctober 4, 2019 at 10:16 pm #1145149Hi Victoria.
Thank you vwery much fro your reply. I had tried to add it to the Functions.php and as soon as I add the whole website crashes and a message says. ‘The site is experiencing technical difficulties.’I have tried three times and tried on both the finctions uinder Child and also under the main theme.
Not sure what I am doing wrong. Below is the code I was adding. Please help :) Thanks and look forward to your prompt reply.
===============
add_filter(‘avia_contact_form_args’, ‘avia_contact_form_args_mod’, 10, 2);
function avia_contact_form_args_mod($form_args, $post_id) {
$form_args[‘autoresponder_subject’] = ‘My custom autoresponsder subject.’;
return $form_args;
}=================
October 5, 2019 at 4:40 pm #1145313Hi Emmygraph,
Please start a separate thread, describe your issue there and give us a link to your website.
Best regards,
Victoria -
AuthorPosts
- You must be logged in to reply to this topic.