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

    Adding Lightbox Form on Magento

    Asked by tidybooks on March 24, 2014 at 10:38 AM

    Could you advise on how to get it to work within magento, the pop up part works fine having trouble with sessioncookie.php part. Thanks

    This is a re-post of a comment on Using cookies to auto-open a lightbox form per browser session

  • Profile Image
    JotForm Support

    Answered by Welvin on March 24, 2014 at 12:41 PM

    You will have to create a PHP file and add the cookie script on it. This script: http://pastiebin.com/53305eca47614. Now, simply upload this PHP file to your server. This script would check your submitters session cookie.

    Second step, would be to embed the codes to your webpage. This codes: http://pastiebin.com/53305f62700b9. The formId should be your form's actual ID, you have to replace this value by your forms actual ID. Form ID is the string of numbers found at the end of your form URL.


    Note that when you embed the Lightbox Codes, you have to make sure that HTML formatting is selected or enabled to your Magento page.

    Let us know if you further assistance.