submit button automatically closes window?

  • Profile Image
    95northproduction
    Asked on February 22, 2012 at 10:30 AM

    Can I set it up so that when "submit" is clicked, the window automatically closes - not redirecting it to another page?

  • Profile Image
    fxr
    Answered on February 22, 2012 at 10:48 AM

    I am assuming you are doiing this from a popup window containing your form?

    Add a Custom URL as a thankyou page. 

    That page/file on your web server will only contain one line:

    <body onload="javascript:window.close();">

    --

    This is  a webpage with that code snippet added:

    http://pamppi.info/jotform-testing/closeme.html

     

    Let us know if you need any further help with that.