PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Variable Redirect or Disable Confirmation

  1. bigmoves
    Member

    I am using fancybox to display a gravity form in my template files. The form is built into the wordpress header and appears on every page. Ideally I would like to totally deactivate the confirmation so that once the form is submitted the fancybox closes and the user is not redirected to another page or presented with a confirmation. Is this possible?

    An alternate solution would be to use php to get the current URL and redirect to that same page. Is this an option?

    I appreciate any advice you could provide for either possible solution.

    Posted 11 years ago on Tuesday June 18, 2013 | Permalink
  2. David Peralty

    Have you tried changing the default confirmation to a blank message?

    Posted 11 years ago on Thursday June 20, 2013 | Permalink
  3. bigmoves
    Member

    I did and the result was that after submission the lightbox closed and an empty lightbox reappeared.

    I did wind up finding a solution which was to add a hidden field that captured the entry ID, then using the redirect with query to send users back to the same page.

    Posted 11 years ago on Thursday June 20, 2013 | Permalink
  4. David Peralty

    Glad you figured it out. All my best!

    Posted 11 years ago on Thursday June 20, 2013 | Permalink

This topic has been resolved and has been closed to new replies.