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

    Making lightbox form responsive for mobile devices

    Asked by Stefanooo on October 30, 2016 at 04:09 PM

    the width and height of the lightbox can obviously only be specified in absolute-values (like e.g width='600px'), hence I remain unable to use lightbox on smartphones ! it seems I can only work with px-values - if this is true, I cannot use 'jotforms lightbox' at all.. that is a pity. Dear support: Can you advise how to use lightbox via jotform propperly for smartphones?

     

     

    see screenshot: http://i.snag.gy/XxAlTM.jpg

     

     



    This is a re-post of a comment on How to Create a Lightbox Form

    responsive mobile lightbox
  • Profile Image
    JotForm Support

    Answered by Mike on October 30, 2016 at 05:26 PM

    We have passed the issue to our developers. However, we cannot provide any ETA at this time for when the lightbox will be re-worked.

    In the meantime, you can try adding the next style code where you embed your lightbox code to make it responsive (100% width).

    <style>
    .jt-feedback.ui-draggable {
    width: 90% !important;
    }
    div#js-form-content {
    width: 100% !important;
    }
    .jt-content {
    width: 100% !important;
    }
    .jt-title {
    width: 100% !important;
    }
    </style>

    Thank you.

  • Profile Image

    Answered by GHdesigner on December 01, 2016 at 01:47 PM

    Thank you.