MAR error handling

At the bottom of a rather tall page is a form partial. Any submission
errors are shown as expected but when they do the page jumps to the
top so it’s not obvious that the form was not sent. Less important is
that it requires a lot scrolling to get back to the form. When the
page reloads is there a way for the errors to be anchored so they’re
always immediately visible?

Todd


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

You could try adding the ID of the form or the header above it to the form’s action. That might work, although I haven’t tried it before. If the form submission is successful, the redirect will happen anyway, but if it fails, then the URL of the form action is what gets loaded, so that should include the anchor.

Walter


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Doesn’t seem to work. I’ll have another look around, perhaps there’s
some trickery, but no love so far.

Thanks,

Todd

On Aug 17, 2009, at 8:45 PM, waltd wrote:

You could try adding the ID of the form or the header above it to
the form’s action. That might work, although I haven’t tried it
before.


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options