Contact Form Thank You Top of Page

百般思念 提交于 2019-12-02 00:13:57

Why don't you set the ID of your form, and then direct to the anchor in your form action:

<form action="#my-form" method="post" enctype="multipart/form-data" id="my-form">

This will basically submit your form and reload your URL as:

http://impressify.co/business-writing.php#my-form

And it should bring you right down to where you want to be, it worked in a simple test I set up.

Or I suppose instead of setting the ID of the form to "my-form" you could could set the ID of your <p> tag that contains your confirmation message to something like "form-confirmation-message" and set the action of your form to action="#form-confirmation-message"

This would probably be the best option as it would bring you right to your message instead of the form, which is just close to your message.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!