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.