Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Inmedia 124 posts 176 karma points
    Dec 09, 2015 @ 09:28
    Inmedia
    0

    Contour jumps to top on submit

    I have a contactform in the bottom of my page, and is has some mandatory input fields.

    The problem is that when I submit the form, it jumps to the top of the page, meaning I have to scroll down to the form, to get the error messages that tells the fields are mandatory.

    Can anyone please tell me, how can I make it NOT scroll to top on submit?

  • Nathan Sleigh 109 posts 353 karma points
    Dec 10, 2015 @ 11:44
    Nathan Sleigh
    0

    Hi Inmedia,

    I have had to deal with this issue a couple of times. I don't think there is a way to stop the jumping due to the way it submits the data. So what I do is usually when the page loads I get it to scroll down tot he closest error field so that the user doesn't have to scroll. Or I do all the validation and then submit the form.

    Nathan

Please Sign in or register to post replies

Write your reply to:

Draft