3 Replies
I don't think there's anything built in for this. You'll have to do it yourself using some js.
something like
this should scroll to the first element with a validation error
https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView
and where i must put this code ChesterS?
i try to register macro like this
and call it by
but it doesn't workds
Sorry, this is JS code so you have to find a way to add it into the frontend. Not sure what the best way would be. Maybe a render hook?