How to display phone field in one line on mobile devices?

  • Briandisa
    Asked on April 26, 2016 at 7:23 PM

    Hi, is there a way to make the phone number field clearer on mobile devices? The area code section makes it look like you have to enter your phone number twice. Which can be confusing to some. Is this fixable?

  • Ashwin JotForm Support
    Replied on April 27, 2016 at 1:37 AM

    Hello Briandisa,

    Please inject the following custom css code in form and see if that solves your problem:

    @media screen and (min-width: 100px) and (max-width: 450px){

    #input_5_area {

    width: 50px !important;

    }

    #input_5_phone {

    width: 77px !important;

    }

    #cid_5 .form-sub-label-container {

        width: 43%;

    }

    }

    The following guide should help you how to inject custom css code:  https://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes 

    Hope this helps.

    Do get back to us if you have any questions.

    Thank you!