ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Popup 'Thank You' following form submission

April 28, 2011 3:18pm

Subscribe [2]
  • #1 / Apr 28, 2011 3:18pm

    ip

    80 posts

    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

    the3mus1can

    426 posts

    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

    ip

    80 posts

    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

    ip

    80 posts

    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

    the3mus1can

    426 posts

    I do not think that you will be able to get rid of the redirect page is you are using Freeform.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases