What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.

  • Profile Image

    How can I close the popup form with link or button?

    Asked by ettyketty on January 12, 2017 at 04:52 AM


    i'd like to place a link or a button just to close the popup window, except of existing X button.



    Page URL:

  • Profile Image
    JotForm Support

    Answered by candy on January 12, 2017 at 06:45 AM


    You can not do it inside the Form Builder as you are not allowed to embed HTML codes into any field because of security reasons. However, you can do it inside your website's codes.

    You need to add the following additional codes into your website and call it from a button or link inside a window in order to close it: 

    <input type="button" value="CloseTheWindow" onclick="closeWindow();"/>

    <script type="javascript">

            function closeWindow() {




    Please try and if you need further clarification, let us know. 

    Also, be notify about that, this way may not work in some browsers.