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.

Confirmation message in fanybox

  1. Hello,
    I am trying to get the form to pop up a confirmation message in a fancybox when user clicks submit button. I have tried the "page" confirmation using a cutom template for the redirect page similar to the one in the example on how to embed a form in a fancybox. Also tried with redirect to the full url of the page but I get an 404 error in the fancybox. Here is the page it is trying to redirect to http://mysite.com/contact/undefined the form is on http://mysite.com/contact

    my fancybox code called after the dom is ready
    $("input.button").fancybox({'width':600,'height':650,'overlayOpacity':'0.4','overlayColor':'#000','hideOnContentClick':false,'autoScale':false,'transitionIn':'elastic','transitionOut':'elastic','type':'iframe'});

    When the fancybox code is turned off the form redirects properly. I am thinking I need to use the after submition and validation hook to fire the fancybox but I am not sure how.

    I would provide a link but the fancybox is turned off because it is on a production site.

    Posted 13 years ago on Friday June 11, 2010 | Permalink