Pop up HTML not working

  • Profile Image
    slocleanair
    Asked on May 31, 2013 at 04:18 PM

     

    I create two forms today and for some reason I cannot use the POP HTML to display them.

    I created the SLO APCD Contacts form earlier and added the cmplaint and info forms today. They both work from within the IDE. But for some reason on the page above they do not work.

    The URL below is from within a CMS but a minimal HTML page with the same three links also fails to display the new forms.

    What am I doing wrong?

  • Profile Image
    Welvin
    Answered on May 31, 2013 at 05:43 PM

    Hi,

    I recommend re-embedding your form using our lightbox embed option instead of your current javascript popup codes. Follow this guide: http://www.jotform.com/help/220-How-to-Create-a-Lightbox-Form

    If you plan to still use your current option, please change your codes into this one's:

    <p><a target="_blank" href="javascript:void( window.open('http://form.jotform.us/form/31505695797165', 'blank','resizable=yes,scrollbars=yes,toolbar=no,width=700,height=500'))">SLO APCD Information Form</a></p>

    <p><a target="_blank" href="javascript:void( window.open('http://form.jotform.us/form/31484182804151', 'blank','resizable=yes,scrollbars=yes,toolbar=no,width=700,height=500'))">SLO APCD Contacts Form</a></p>

    <p><a target="_blank" href="javascript:void( window.open('http://form.jotform.co/form/31506030241840', 'blank','resizable=yes,scrollbars=yes,toolbar=no,width=700,height=500'))">SLO APCD Air Pollution Complaint Form</a></p>

     

    Thanks

  • Profile Image
    Welvin
    Answered on May 31, 2013 at 05:46 PM

    Both the first and third codes are not working because of the "inverted comma" instead of the "apostrophe" in this line:

    blank',''resizable

    it should be:

    blank','resizable

     

    Thanks

  • Profile Image
    slocleanair
    Answered on May 31, 2013 at 06:04 PM

    Thanks for finding the typo...

    I suggest you include resizeable=true in the pop up template. While the spec says that is the default at least Firefox does not honor that and displays fixed borders. this can be problematic with larger forms especially when the user has monkeyed with the default font sizes for the Windows desktop. Current zoom can also cause problems. 

  • Profile Image
    jonathan
    Answered on May 31, 2013 at 08:52 PM

    Hi,

    Can we suppose that is good now in your pop up form, after Welvin's suggestion?

    ---

    Thank you for your additional info on the resizeable=true parameter.

    Much better if you can create a separate post about it here http://www.jotform.com/contact , provide as much details on your suggestion, and I will forward a request ticket about it to our dev team.

    Thanks.