Auto adjust pre-filled long text field

  • Profile Image
    Rachel 
    Asked on April 25, 2019 at 01:23 AM

    Hi,

    Is there a way to auto adjust the long text field height in jotform when viewed on mobile devices?


    The long text field we are using on the form have a default value and if its viewed on phone the texts gets cut-off.

    We can adjust the height on the form built however there's way too many blank spaces when viewed on desktop or ipad.

    Please advise.

    Thanks

    Screenshot
  • Profile Image
    BJoanna
    Answered on April 25, 2019 at 03:41 AM

    To which form is your issue related to? 

    The height of the Long Text Entry field can be adjusted with CSS. You can add the following CSS code to your form and if necessary adjust the height value:

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

    .form-textarea {

        height: 200px!important;

    }}

    How to Inject Custom CSS Codes

    Here is a demo form - https://form.jotform.com/91141870963965

    Feel free to test it.