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

    Text box length

    Asked by cclabels on October 31, 2013 at 03:17 PM

    I have a (required) text box on my form that I want to only allow 22 character per line and only 5 lines = 110 character in total.  The problem I have is that the 'RETURN' key can be pressed as long as under 110 characters have been entered - the return key seems to act as 1 character.  Is there a way to limit the total lines, including the return key being pressed so that the text box will only allow 5 lines even if 20 chracters have been enterd?



    Page URL:

  • Profile Image

    Answered by Cesar on October 31, 2013 at 06:52 PM


    Unfortunately we do not have a direct way to perform this through the JotForm Editor. Nevertheless after a bit of research, it does seem you can manually add this functionality to the form by utilizing the form's source code.

    How to Get your Form's Source Code

    There is information on stackoverflow that relates to this, and it looks as though this is the best solution out there:


    Here is an example form using this technique, made by one of our JotFotm staff members:


    Do let us know if you need further assistance, thank you


    Note this information in is reference to this thread 


    Related Thread: