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

    How to change the size of the GPS map for iPhone?

    Asked by Nattster on February 09, 2015 at 08:43 PM

    Hi, I am trying to shrink the size of the GPS map and the esignature block as they both are too big for the iPhone view. Is there a way that I can do that?

    size map shrink block
  • Profile Image
    JotForm Support

    Answered by Charlie on February 09, 2015 at 10:42 PM

    Hi,

    I assume that the form you are referring to is the one named "Safety Inspection - Hazard Assessment Form"? If that is correct, you could try using this custom CSS code, you'll need to add it in your Form Designer under CSS tab.

    @media screen and (max-width: 350px){

        #customFieldFrame_8 {

            width : 290px !important;

        }  

        #id_47 {

            width: 290px !important;    

        }

    }

    #customFieldFrame_8 is the GPS widget, you can adjust the width and height there. The #id_47 is the element for the e-signature, you can also adjust the width of it.

    Basically, what this code is doing is that if the device width display is no more than 350px, which is we assume the minimum size for the mobile display, we will then change the widths of the widget GPS and e-signature.

    To add the custom CSS code, here's the screenshot:

     

    You can also preview the form in different mobile display by clicking the "Preview" button found in the form Designer.

    I hope this helps.

    Thank you.

  • Profile Image

    Answered by Nattster on February 09, 2015 at 11:42 PM

    Thank you that worked perfectly for the map but the esignature is still too large in width. Is there anything else that we can do?

  • Profile Image
    JotForm Support

    Answered by Welvin on February 10, 2015 at 07:49 AM

    Try adding the following custom CSS codes:

    @media screen and (max-width: 350px){

    div#signature_pad_47 {

    width: 290px !important;

    height: auto !important;

    }

    .signature-line.signature-wrapper {

    width: 290px !important;

    height: auto !important;

    }

    canvas.jSignature {

    width: 290px !important;

    }

    }

    You can adjust the value until you'll get the desired width. Let us know the result.

    Thanks