[web2py] Re: Form submit scrolls to top of the page when error

2016-02-13 Thread Joe
Thanks Anthony, Yes, I was originally considering adding a message at the top of the page, I just thought perhaps there might be an other way. In any case, that's what I did, added a message at the top and that's fine. Thanks again for your kind reply. Cheers, Joe On Saturday, February 6, 2016

[web2py] Re: Form submit scrolls to top of the page when error

2016-02-05 Thread Anthony
That's just how the browser works. When there is an error, you might consider adding a message at the top of the page with a link down to the form. Alternatively, you could use Javascript to scroll down to the form -- see http://jsfiddle.net/thinkingstiff/dg8yr/. Anthony On Friday, February 5,