Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #638634

    Hi,

    I’ve got issues with my contact form on a particuliar site. On the mobile version, the “Thank you” message don’t show up after sending the message.
    Also on some Windows 10 Desktops. What can I do?

    Enfold Version: 3.5.4
    WP Version: 4.5.2
    Site: http://www.massen.lu/knigge

    Thank you

    • This topic was modified 8 years, 6 months ago by owls_studio.
    #638669

    Hey owls_studio,

    I checked on windows and on my android mobile in both cases the contact form displayed a thank you message correctly. please see screenshot.

    If yous till have any issues please post us a screenshot/mockup of what you would like to achieve? You can upload the screenshot to imgur.com or dropbox and share the link here :)

    Best regards,
    Vinay

    #638678

    Hi,

    it’s only on this particular site: http://www.massen.lu/knigge
    All other forms work perfectly.

    See the link on the private field.

    #639082

    Hi,

    Could you please provide us with a temporary admin login so that we can take a closer look? You can post the details in the Private Content section of your reply.

    Thanks,
    Rikard

    #639140

    Hi,

    your Login:

    Thanks

    • This reply was modified 8 years, 6 months ago by owls_studio.
    #639350

    Hi,

    There is currently an error in console regarding icons, please refer to this post – http://kriesi.at/documentation/enfold/enable-cors/ to fix it

    Best regards,
    Yigit

    #639378

    Hi,

    Thanks. I fixed this in my htaccess-file, but is it related to my problem with the form?
    Because this is still broken on mobile and some Win10-Systems.

    #640094

    Hi,

    We tried to login to the site but it’s not working. Please check. Try to add this in the functions.php file to fix the issue temporarily:

    // contact form fix
    add_action('wp_footer', 'ava_custom_script_cf');
    function ava_custom_script_cf(){
    ?>
    <script>
    (function($){
    	function a() {
    	    $('#top .av-custom-form-color .form_element .button').click(function() {
               $('body').on('av_resize_finished', function() {
                   var ajax = $('.ajaxresponse').hasClass('hidden');
                   if(!ajax) {
                       $('.ajaxresponse').append('
    <h3 class="avia-form-success">Thank you! Your message has been sent!</h3>
    ');
                   }
    	       });
    	    });
    
    	}
    
    	a();
    })(jQuery);
    </script>
    <?php
    }

    Best regards,
    Ismael

    #640736

    Hi,

    this doens’t work. I’ve checked the Login, now it should work:

    #641204

    Hi,

    We fixed the code. Please put your own “thank you message” in the placeholder:

    $('.ajaxresponse').append('
    <h3 class="avia-form-success">Thank you! Your message has been sent!</h3>
    ');
    

    We are still not sure why the default one is not working.

    Best regards,
    Ismael

    #641285

    Hi,

    thanks. Where do I put this in? When I put this in my functions.php, I got a white screen of death.

    #642345

    Hi,

    In this line:

    
    <h3 class="avia-form-success">Thank you! Your message has been sent!</h3>
    

    Replace “Thank you! Your message has been sent!” text with your own message. Post the custom “thank you message” here, we’ll add it for you.

    Best regards,
    Ismael

    #642476

    Hi, here the message.

    #642860

    Hey!

    Did you remove the code? We can’t find it in the functions.php file. We need to know because adding a duplicate function will break the site.

    Cheers!
    Ismael

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