Hi,
I’d like to present a jquery popup ‘Thank you’ page following a successful ‘Contact Us’ form submission, can anyone provide guidence please?
Many thanks.
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
April 28, 2011 3:18pm
Subscribe [2]#1 / Apr 28, 2011 3:18pm
Hi,
I’d like to present a jquery popup ‘Thank you’ page following a successful ‘Contact Us’ form submission, can anyone provide guidence please?
Many thanks.
#2 / Apr 29, 2011 1:39am
Set the return on the contact form (assuming you are using Freeform) to be the contact template plus another url segment. For example, contact/thank-you.
Then in the contact template:
{if segment_2 == 'thank-you'}
Code to trigger jQuery popup.
{/if}#3 / Apr 29, 2011 4:41pm
Thank you very much, works perfectly with the following:
http://www.queness.com/post/77/simple-jquery-modal-window-tutorial
#4 / May 04, 2011 2:29pm
Almost works perfectly; the client wants to get rid of the redirect page, or at least reduce it’s visibility, the best I’ve managed is to set it to redirect=”.001”, it’s still visible though?
#5 / May 04, 2011 6:43pm
I do not think that you will be able to get rid of the redirect page is you are using Freeform.