Forums

Give help. Get help.

  • # July 17, 2013 at 8:07 pm

    Right now when I attempt to send a blank form the whole page refreshes before displaying the error messages.
    I’d like to add a slide down effect to these errors and somehow stop the page from refreshing…
    I tried to use this:

    $(document).ready(function(){
    $('.error').hover(function(){
    $('span', this).slideUp(0).stop(true, true).slideDown(500);
    },
    function(){
    $('.error', this).css("display", "block").stop(true, true).delay(100).slideUp(500);
    });
    });

    But of course it doesn’t work for me…
    Can someone please help me fix this?

    Here is my full contact.php page template//
    [http://pastebin.com/FuzQCyr9](http://pastebin.com/FuzQCyr9 “http://pastebin.com/FuzQCyr9”)

    and the jQuery//
    [http://pastebin.com/ELm5Tzri](http://pastebin.com/ELm5Tzri “http://pastebin.com/ELm5Tzri”)

    # July 18, 2013 at 2:45 am

    Are you using jQuery UI?

    Link to the site where the contact form can be found?

    # July 19, 2013 at 4:38 am

    @chrisburton It’s a test site so I am unable to post the link :/

    @JamesMD I’m new to all of this so I have no idea what to do :/
    The errors pop up when the form is not submitted correctly………

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

icon-anchoricon-closeicon-emailicon-linkicon-logo-staricon-menuicon-nav-guideicon-searchicon-staricon-tag