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 do I fix the phone number field on mobile?

    Asked by comfortexperts on October 25, 2016 at 06:54 AM

    hello.

     

    [data-type="control_phone"] .form-sub-label-container:first-child {

        width: 100%;

        margin-right: 0;

    }

     

    the above fixed the desktop version but not the mobile version. it is still short and cuts off the phone number on a smartphone. your help will be appreciated. thank you.

    responsive mobile responsive
  • Profile Image
    JotForm Support

    Answered by owen on October 25, 2016 at 09:29 AM

    Hi Jessica,

    I have opened your form on a mobile device and here is how it looks like:

    To guarantee that it looks properly on every mobile device please use our Mobile Responsive Widget:

    https://widgets.jotform.com/widget/mobile_responsive

    There does not seem to be a problem right now as it is working as you desire but this should eliminate the odds. Please apply this and see if the issue still persists. If it does, can you please provide us the screenshot?

    Please contact us again if you need any further assistance. 

  • Profile Image

    Answered by comfortexperts on October 25, 2016 at 02:17 PM

    i have this widget installed.

     

    still doenst fix the phone number length.

     

    please note i have input mask enabled to make sure they enter the correct amount of digits.

     

    please create a ccs code to inject of fix the problem.

  • Profile Image
    JotForm Support

    Answered by Jan on October 25, 2016 at 05:49 PM

    I believe you are referring to this form (https://www.jotform.us/form/62919145484161). I opened your form and I was able to replicate the issue.

    Please insert this custom CSS code:

    @media only screen and (max-width: 40em) {
    [data-type=control_phone] .form-sub-label-container:first-child {
    width: 100% !important;
    }

    .form-textbox, .form-textarea {
    max-width: none !important;
    }
    }

    Here's a guide on How-to-Inject-Custom-CSS-Codes. Here's the result:

    Hope that helps. Thank you.

  • Profile Image

    Answered by comfortexperts on October 25, 2016 at 07:19 PM

    wonderful. thank you!