"Message Sent" confirmation message for contact form
Автор: Luis S.
Просмотрено 935,
Подписчики 1,
Размещенный 0
Hey!
I was trying to do a one page site and got to the part of the contact form and remembered that we are forced to create a confirmation page to redirect the visitor when sending the contact form.
Isn't there any way we can inform that the message has been sent without having to load a new page just for that?
Regards!
Размещено
Hello luis
No ( not without some coding on the "target" page) - but it would be nice if we could have the choice for a pop-up also.
I use a page for each contact-form. On that page I have a message " Message sent" and a button with a message saying "lick to return".
Then clicking the button will bring the user back *( via a link ) to the page he came from.
Kind regards
John S.
Hello Luis
Maybe an idea for you ( it is simple but it will function ) :
If you have a contactformpage and a confirmationpage then you could on the confirmationpage have a code like this :
<metahttp-equiv="refresh"content="2; url=http://contactformpage.com/"/>
This means that when a user "sends" the form then he sees the confirmationpage in about 2 seconds ( and a text on the page ) and then he is automatic back on the contactpage after about 2 seconds. If you don't want him to see a new page you can set content=0 and if you want a longer time you can set content=10 or whatever.
Hope this is helpful for you.
Kind regards
John S.
Forgot to mention :
It is a good idea that the confirmation page is made as a "hidden page".
Kind regards
John S.
I would be pleased with the option of a showbox.
I would also be pleased with a showbox/pop-up.
( my other posts was only to inform of some workarounds until it comes - hope it could be useful for someone )
Автор
Thank you John, both ideas are very useful, I was just thinking about an "auto go back" kind of page and the one with the button seems like a good idea too.
The problem I've always had is that sometimes Google shows those hidden pages, even if they are hidden and not in the sitemap.
I think there's some kind of method to avoid indexing of a given page, but I'm not sure wich is the best (and that does not affect general indexing)
Kind regards!