Jump to validation error on form landing page

Anonymous
Not applicable

Jump to validation error on form landing page

Has anyone had success with getting a landing page to jump to a validation error once the submit button has been pressed.

Here is the situation.

We have a Marketo form with assoicated landing page that is about double the verticle length of the screen. Someone has to scroll past the fold in order to submit page.  Problem is that if there are any validation errors the submit button simply turns green and one has to manually scroll up to find their validation error, if they even understand that that is the case in the first place.

I have thought of custom javascript but thought I would ask here first.

Thanks

Tags (1)
3 REPLIES 3
Anonymous
Not applicable

Re: Jump to validation error on form landing page

It's going to be custom JS. If you post your page here I can see what I can come up with over lunch 🙂
Anonymous
Not applicable

Re: Jump to validation error on form landing page

Thnaks Jason

http://pages.esri.ca/TS-IAAO-2014.html

The page is meant to be displayed on an iPad at a tradeshow
Anonymous
Not applicable

Re: Jump to validation error on form landing page

Hmm, this seems to be an issue (I'm careful with the term "bug") with Marketo's code (or something deeper with jQuery and scrollTop plugin, which they appear to be using) because it works in Chrome, but not on my iPad browser.

Tried to build some code but can't quite get it to work...will keep trying later today.