-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Which Umbraco Forms version are you using? (Please write the exact version, example: 13.4.0)
16.2.0
Which Umbraco version are you using? (Please write the exact version, example: 13.5.2)
16.3.4
Issue summary
So I was testing a simple form on this setup the other Day where I just had the "Thank you" text setup in the "Submit Message" workflow in the "Message on Submit" field.
When I submitted the form, which was placed a long way down the page it never scrolled back down so I could see the "Thank you" message.
But I think that is the idea with the "ScrollToFormScript.cshtml" partial called in the "Submitted.cshtml" file? As far as I can see in the "umbracoforms.js" file there is no "window.scrollTo" setup apart from in the error handling, where it appears to scroll one down to the input field that causes an error. But nothing seems to react on the #umbraco-forms-form-submitted so I think there might be an issue here? :-)
Specifics
No response
Steps to reproduce
- Create a simple contact form
- Use the default workflow where the "Thank you" message is setup out of the box
- Insert the form on a page a long way down
- Submit the form
5: See if the page is scrolled when submit has happened and the page is reloaded
Expected result / actual result
I would expect the page to scroll down to the "Thank you" message.
This item has been added to our backlog AB#62400