How to limit amount of characters on a line + limit number of lines in Text Area field

  • Profile Image
    daanm
    Asked on February 04, 2017 at 07:58 AM

    we are happy JOTFORM users but........ we really would like to limit the amount of characters on a line

    PLUS limt the number of lines a user can use.  


    This answer shows that it is possible: 

    https://www.jotform.com/answers/261915-How-to-limit-the-number-of-lines-enter-key-in-text-area-field

     

    REASON:

    See the enclosed screenshot of content delivered by a jotform.

     

    This shows that we cannot have more then 74 characters on 1 line

    and

    not more then 21 lines.

    Please help us out.

     

  • Profile Image
    Boris
    Answered on February 04, 2017 at 10:20 AM

    We do not have an option for this, so unfortunately as mentioned on that support thread that you have linked to, if you wanted to implement such a functionality you would need to use the source code of your form, and have a web developer write the custom script with this functionality for you.

    Using source code is essentially an advanced feature that requires some knowledge of web technologies. The following guide shows how to obtain the source code of your form:

    https://www.jotform.com/help/104-How-to-get-the-Full-Source-Code-of-your-Form

    Please do keep in mind that when using a customized source code of a form, any time you would make an update to your form within JotForm, you would need to get the updated source code and add your custom scripts to it again.

    The only kinds of limits we have available for Text Area fields, without you needing to customize the source code of your form, are those showing under Entry Limits of Text Areas in our Form Builder:

    Essentially, these built in limits that are available are to set the minimum and maximum number of letters, or words, that the Text Area can accept. If you need more advanced control over what is being entered, then you would need to use the source code of a form and customize it yourself to suit your needs.

    Please let us know should you need assistance with anything else. Thank you.