Menu

displaying errors/thank you page as popus?

Help
Andrew
2009-08-19
2013-06-03
  • Andrew

    Andrew - 2009-08-19

    I was hoping somebody with more knowledge about phpformgen could answer this...

    I'm trying to set up my form so the outputs from 'process.php' to appear as a popup, instead of redirecting people to a different page...I just can't seem to get anything to work.

    Is this even possible to do?

    Thanks!

     
    • TNTEverett

      TNTEverett - 2009-08-23

      Anything is possible.
      The end of your processor.php file might have something like this
      echo $mhtml;
      or this
      include("confirm.html");

      Either way you need to reasearch how to do either one of these and open a new page at the same time. 

      A popup is handled easiest with javascript.  Look for instructions on how to use the "window.open()" javascript function. 

      Start here:
      http://www.javascript-coder.com/window-popup/javascript-window-open.phtml

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.