Form collapse not working in Firefox when using lightbox embed

  • Profile Image
    darje
    Asked on April 02, 2014 at 10:28 AM

    Above mentioned. Form link is: http://form.jotform.co/form/40822211594853

    It works there but when triggered froma page which is http://metalka.hr/test/aluminijske-ograde/ograde-i-kapije/ (look at the bottom of the page where it says INFORMATIVNA PONUDA in orange) and is called via lightbox embed it doesnt allow opening form collapse segments.

     

    Please help 

  • Profile Image
    KadeJM
    Answered on April 02, 2014 at 11:39 AM

    I could see and replicate the same problem in firefox where it is frozen. Try removing the " 2 " after the script " Feedback " value. This fixed it on my end so please try it on yours and let us know.

    Example:

    CHANGE - 

    <script src="//cdn.jotfor.ms/static/feedback2

    .js?3.2.1211" type="text/javascript">

    new JotformFeedback({

    formId:'40822211594853',

    base:'http://form.jotform.co/',

    windowTitle:'ALU CENTAR - STEPENIŠTE',

    background:'#FFA500',

    fontColor:'#FFFFFF',

    type:false,

    height:500,

    width:700

    });

    </script>

    <a class="lightbox-40822211594853" style="cursor:pointer;color:blue;text-decoration:underline;">ALU CENTAR - VANJSKA OGRADA</a>

     

    TO:

    <script src="//cdn.jotfor.ms/static/feedback

    .js?3.2.1211" type="text/javascript">

    new JotformFeedback({

    formId:'40822211594853',

    base:'http://form.jotform.co/',

    windowTitle:'ALU CENTAR - STEPENIŠTE',

    background:'#FFA500',

    fontColor:'#FFFFFF',

    type:false,

    height:500,

    width:700

    });

    </script>

    <a class="lightbox-40822211594853" style="cursor:pointer;color:blue;text-decoration:underline;">ALU CENTAR - VANJSKA OGRADA</a>

     

  • Profile Image
    darje
    Answered on April 02, 2014 at 01:46 PM

    Hm no it doesnt fix the problem. Now it doesnt open the form at all. It just says:

    Invalid Form URL

     

    This form is not available for this domain.
    http://www.jotform.co/form/40822211594853
  • Profile Image
    EliezerN
    Answered on April 02, 2014 at 03:28 PM

    @darje

    To resolve this issue simply change the the value for "base" from "http://jotformeu.com/" to "http://form.jotform.co/".

    So, if at the time of getting the Lightbox code the script has the value http://jotformeu.com/ then change it to http://form.jotform.co/ as in this example:

    <script src="//cdn.jotfor.ms/static/feedback

    .js?3.2.1211" type="text/javascript">

    new JotformFeedback({

    formId:'40822211594853',

    base:'http://form.jotform.co/',

    windowTitle:'ALU CENTAR - STEPENIŠTE',

    background:'#FFA500',

    fontColor:'#FFFFFF',

    type:false,

    height:500,

    width:700

    });

    </script>

    <a class="lightbox-40822211594853" style="cursor:pointer;color:blue;text-decoration:underline;">ALU CENTAR - VANJSKA OGRADA</a>

    Then, the form and Form Collapses will work with no issues.

    Let us know if you need further assistance with this inquiry.

    Thanks

  • Profile Image
    darje
    Answered on April 02, 2014 at 04:16 PM

    Thanks that worked.