27 September 2013 at 10:04am
So I have a form created with the UserForm Module that opens in a light box. That part is working fine. After a user fills out the form and hits submit, they get redirected to a different page. I know this is triggered by:
return $this->redirect($this->Link() . 'finished' . $referrer); (Ln 938 of UserDefinedForm.php)
On that "finished" page they see the correct completion message. What I really want to happen is for that completion message to appear inside of the lightbox. Ideally the form would disappear and they would see the completion message.
Any suggestions on how to go about this would be great.
1 October 2013 at 2:34am
Willr - Excellent! Thank you for your reply. I'll give this a try. Since my original post, I did discover that if I set fancybox's content type to iframe I get the entire sequence (form > success message) within the popover, but I would prefer to make the ajax version work.