G
G
Goldsliders2022-03-15 14:32:48
JavaScript
Goldsliders, 2022-03-15 14:32:48

When submitting the bitrix form, it scrolls almost to the bottom of the page, how can I fix it?

The essence of the question is this, when I submit the form, there is a small scroll down and the form is cleared, how can I save the scroll position?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Aricus, 2022-03-15
@Goldsliders

There are two options. The first is to find the source:
1. Check if there are links to anchors somewhere nearby. If not, then the problem is in the scripts.
2. See which component and component template is being used. Check the template for js scripts.
The second is to put a patch. After submitting the form for an experimentally selected time, disable scrolling. How to do this is written, for example, here .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question