lightbox form won't open when two instances available on same page

  • Profile Image
    mpawebmaster
    Asked on June 23, 2011 at 05:14 PM

    I have two links (Contact Us and Send Feedback) on the same page that I want form to open as lightbox. If I remove the <a id="lightbox-CODE")> from one of the links the other works but when I try to have both at the same time only the link that is closest to <body> will work and the other won't.

    How can I fix this?

  • Profile Image
    allanftd
    Answered on June 23, 2011 at 10:06 PM

    Hi mpawebmaster,

    May we ask for the URL where your forms are currently embedded? Since there is clearly a conflict between the two lightbox scripts, could it be possible that you place the other lightbox form in a page within an iframe?

    We'll await your response so that we can further assist you. Thank you for using JotForm!

    JOTFORM SUPPORT

  • Profile Image
    mpawebmaster
    Answered on June 29, 2011 at 04:08 PM

    I had to use two separate forms for it to work which I was okay with but now I realized that it won't work in IE7. Works on all other browsers. Now what can I do? This is getting very frustrating.

    Thanks for any help you can provide.

    URL: http://www.magazine.org/advertising/magazine-media-factbook/index.html

  • Profile Image
    NeilVicente
    Answered on June 30, 2011 at 12:01 PM

    Hi,

    Try removing the line src="https://www.jotform.com/min/g=feedback" from the second script code so it becomes like this:

     

    As I do not have IE7 on my end, I have not tested if it would solve your problem. However, this solution worked for other users who have problems with embedding multiple lightbox forms.

    Hope it does the same for you. Please keep us updated on your progress.


    Neil

  • Profile Image
    mpawebmaster
    Answered on June 30, 2011 at 12:08 PM

    Thanks Neil. This morning I saw that this bug seems to have been fixed. Now I can use the same form multiple times on one page. 

    http://www.jotform.com/answers/13649-How-to-make-multiple-calls-to-the-same-lightbox-form-on-the-same-page

    I tried it and it works.

    Thanks.

  • Profile Image
    NeilVicente
    Answered on June 30, 2011 at 12:36 PM

    Glad to hear that news. Thank you as well for the heads up.


    Neil