Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #362024

    Hi,
    After form validation,
    How to ascend to the top of the page to see the message to display after sending?
    thank you

    #362425

    Hi bicounet!

    Open up /enfold/js/shortcodes.js and change line 2742 from this.

    form.slideUp(400, function(){responseContainer.slideDown(400, function(){ $('body').trigger('av_resize_finished'); }); send.formElements.val('');});
    

    To this.

    form.slideUp(400, function(){responseContainer.slideDown(400, function(){ $('body').trigger('av_resize_finished'); }); send.formElements.val('');
    jQuery('html, body').animate({ scrollTop: jQuery(".ajaxresponse").offset().top }, 1000);
    });
    

    Cheers!
    Elliott

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