if I want to use a form as a popup, is it possible to close popup when click submit button

  • Profile Image
    Asked on October 21, 2014 at 11:16 AM

    I want to close the popup form when a user click submit, that way he stay on current page instead of opening the website in a new window

  • Profile Image
    Answered on October 21, 2014 at 12:39 PM

    Hi youssef,

    To confirm you would like for your pop-up page, for your form to be closed once your user's hit the submit button?

    If that is the case, unfortunately we do not currently have that feature available. As a work around, you can however use the "Thank You" page to direct the window to close.

    To do this you would have to create another webpage on your webserver & use that as the Custom URL "Thank You" page for your form.

    In that new webpage have just one line of code:

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

    This webpage would direct the pop-up window to close after the form has been submitted.

    I hope this helps! Please inform us if you need further assistance.