Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Daman Jeet

    (@djeet)

    Hi m1thrandir, Thank you for the feedback. Even though i do not consider this is a bug but it is certainly a usability issue .

    I have pushed the new version of plugin which scrolls up the use to top most field of error.Please update.

    Let me know if you have any other feedback.

    Thanks
    Djeet

    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!

    Plugin Author Daman Jeet

    (@djeet)

    Hey m1thrandir,

    Can your provide the form URL so i can see the behavior?

    Thanks
    Djeet

    Plugin Author Daman Jeet

    (@djeet)

    Hi The new version has feature of smooth scroll plus it takes to you to exact location of field with first error. This should resolve your query. Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘On form submission, validation should go to top-most error’ is closed to new replies.