How to put an anchor tag at the end of the URL after submitting the form?
-
Hi,
I am having this problem for so long now.
I have a one page wedding website and I have this RSVP plugin at the end of my page. The problem is when I submit the form, the whole page reloads and the view from user side is turned back to the top of the page.
for example: i logged in my first and last name and after submitting the form, I’m on top of the page. I will then now scroll at the bottom of the page where my RSVP is and continue to fillup the form. I will submit again and the same thing happen, on top again.
It’s quite tedious if I’m the user having the scroll down again and again. So the solution would be to have an AJAXized form which will be much more complicated OR put a hashtag at the end of the URL every time a user submit the form so that he won’t change his/her viewport from the form.
So can anyone help me in putting it at the end of the page? I think Contact Form 7 has this feature because I tried it once. It reloads the form but after loading, I’m still at the bottom of the page. I then saw that the URL has an anchor tag amended to it.
Thanks,
I hope someone can help
- The topic ‘How to put an anchor tag at the end of the URL after submitting the form?’ is closed to new replies.