Making text area full screen on mobile

  • plott
    Asked on April 4, 2017 at 8:17 PM

    I have a form at:

    https://form.jotformpro.com/70936236920963

    The text areas at the bottom look fine in preview.  However, on my phone (iPhone 6), they are confined to the first column.  How can I make them full-width?

    Thank you!

  • Elton Support Team Lead
    Replied on April 5, 2017 at 3:03 AM

    Inject this CSS codes to your form, this should expand the textarea field on mobile.

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

    textarea#input_28, .form-textarea {

    width: 100% !important;

    }

    .form-textarea-limit>span {display: block;}

    }

    Guide: http://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes

    Let us know how this goes. Thanks.

  • plott
    Replied on April 5, 2017 at 6:21 AM

    Hi Elton,

    I made the assumption that the code you provided was to replace the original @media code.  I have done this, but the form still renders incorrectly on my iPhone 6.

  • Sven
    Replied on April 5, 2017 at 7:59 AM

    This is because you have enabled the "Shrink" option on the text areas, I have just checked your form and i can see that the text ares are set to shrink. All you need to do is set the shrink option as off, and they will view correctly without any problems.

     

    Making text area full screen on mobile Image 1 Screenshot 20


    Please click on the gear icon of your text area to open the PROPERTIES menu, from there, click on ADVANCED, and scroll down to find Shrink, and set it as off.

     

    Thank you

  • plott
    Replied on April 5, 2017 at 8:12 AM

    Perfect - thank you!