Tagged: 

Viewing 17 posts - 1 through 17 (of 17 total)
  • Author
    Posts
  • #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

    #668027

    Hi 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,
    Yigit

    #668198

    Yiget

    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, 4 months ago by davegibb.
    #668325

    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.

    #670120

    Hi,

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

    #916349

    Hello, 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
    Peter

    #916834

    Hi,

    All the modifications that we support are listed here
    https://github.com/KriesiMedia/enfold-library/tree/master/actions%20and%20filters/ALB%20Elements/Contact%20Form

    You can use anything you need from there.

    Best regards,
    Basilis

    #916923

    Thanks @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
    Peter

    #917653

    Hi,

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

    #919877

    Hello @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,
    Peter

    #920269

    Hi,

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

    #920308

    Thanks @ismael. It works! Added feature request for this to be edited from the ALB.
    Cheers,
    Peter

    #920709

    Hi Peter,

    Glad we could help :)

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #1145033

    Hi 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, 2 months ago by Emmygraph.
    #1145138

    Hi Emmy,

    You need to add it to the functions.php file in your child theme.

    Best regards,
    Victoria

    #1145149

    Hi 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;
    }

    =================

    #1145313

    Hi Emmygraph,

    Please start a separate thread, describe your issue there and give us a link to your website.

    Best regards,
    Victoria

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