Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter m1thrandir

    (@m1thrandir)

    excellent, thanks for this.

    I tried to modify your script so that the scrolling is smooth using jquery. could you perhaps tell me what im doing wrong because it only scrolls to the first ever error element and does not change as i fix validation corrections

    I commented out your line: window.scrollTo(0, ( moveTo – 100));

    added this
    jQuery(‘body,html’).animate({
    scrollTop : moveTo-100
    }, 500);

    works however only scrolls to top most error without regards for whether it has been fixed or not.

    thanks!

Viewing 1 replies (of 1 total)