- tidybooksAsked 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
- JotForm SupportWelvinAnswered 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.