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

    How to add line break/shift when pre-populating or putting hint in a value for a field.

    Asked by Frix on September 22, 2016 at 02:55 PM
    line break shift prepopulation prepopulating empty character blank space new line
  • Profile Image
    JotForm Support

    Answered by Boris on September 22, 2016 at 05:07 PM

    When you are prepopulating forms with URL parameters, any special characters must be URL encoded:

    http://www.w3schools.com/tags/ref_urlencode.asp

    When URL encoding a character, it is turned into its URL friendly counterpart. To have a new line prepopulated with a new line character, you can simply use %0A wherever you need a new line. Similarly, you can use %20 in place of a "space" character.

    Simply put, this text:

    line 1
    line 2

    Can be represented by:

    line%201%0Aline%202

    Here is an example of prepopulating field Tilstede of one of your forms, where prepopulated text is split across different lines:

    https://form.jotformeu.com/form/62654760211350?tilstede=line%201%0Aline%202

    If you need further assistance, please let us know.