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.

modal form in thickbox

  1. stealthkinetics
    Member

    I've been following the blog post here (http://www.gravityhelp.com/creating-a-modal-form-with-gravity-forms-and-fancybox/) regarding modal form in FancyBox, but I'm trying to do it in Thickbox since it's already loaded/used on my site.

    The form is loading into thickbox alright but it is not being processed when I submit it. It DOES work when I test the form alone (not loaded into the other page through TB)...

    I've used a "simple" page template included in Hybrid theme, is there possibly too many elements being loaded onto that page?

    Would be glad to PM links to anyone willing to help...

    Posted 13 years ago on Wednesday May 12, 2010 | Permalink
  2. stealthkinetics
    Member

    (I just tried it using the "plain page" code in that tutorial and get the same result. Submits when tested alone - but not in Thickbox...

    Posted 13 years ago on Wednesday May 12, 2010 | Permalink
  3. I haven't tested this with Thickbox at all, just the Fancybox for the tutorial you saw. We don't have a PM feature on this forum right now but If you'd like to post a link to your form page (where you launch the modal window), someone can take a look at it and see if anything jumps out.

    Posted 13 years ago on Thursday May 13, 2010 | Permalink
  4. stealthkinetics
    Member

    http://www.jarrettbay.com/contact/staff-mock-up/

    Click on Email Test right after page title...

    If you try submitting please only direct to Jason Test (from the To drop-down)...

    Posted 13 years ago on Thursday May 13, 2010 | Permalink
  5. looks like you need for the modal window to persist, either using a "close" button/link on the window to pass the "modal=true" parameter in your link and then add a link to close the window on the actual confirmation page. If the modal window closes automatically on submit, you won't see any confirmation, validation errors, etc.

    http://jquery.com/demo/thickbox/#sectione-1

    Optionally you may add modal=true to the query string (e.g. ?KeepThis=true&TB_iframe=true&height=400&width=600&modal=true) so that closing a ThickBox will require calling the tb_remove() function from within the ThickBox iframe (self.parent.tb_remove()). See the iframe demo for an example, where you must click "ok" to close the ThickBox.

    Posted 13 years ago on Friday May 14, 2010 | Permalink