How to add new line in question label?

  • Profile Image
    AprilRosePhotography
    Asked on June 18, 2015 at 12:12 AM

    For Text Area, when writing in the question area, am I able to put something in the next line? 

     

    So put 'Eg. How your one year old snuggles into you..' onto another line..

  • Profile Image
    ashwin_d
    Answered on June 18, 2015 at 03:07 AM

    Hello,

    Yes it is possible to achieve your requirement by adding <br> html tag in the textarea label. Please check the screenshot below on how to add "<br>" in the question label:

     

    Hope this helps.

    Do get back to us if you have any questions.

    Thank you!

     

  • Profile Image
    AprilRosePhotography
    Answered on June 18, 2015 at 03:53 AM

    Awesome, thank you!

    Is there anyway I can customize the text?

    E.g.

    - Make the font size smaller

    - Make it bold/italic 

     

    Thanks heaps!

  • Profile Image
    Boris
    Answered on June 18, 2015 at 05:21 AM

    Yes, it is, but these field labels are really not intended to be used in that way.

    Please note that all HTML tags that you add inside the label will be removed when you edit the label next time. For example, lets say that your label is set as:

    What are some things that your family is doing right now that you want to remember? Be as detailed as you want. <br>Eg. How your one year old snuggles into you. Those adorable smiles! Sweet interactions. Your siblings love for each other.

    The next time that you go to edit the label, the <br> tag will be automatically stripped, as the labels were not designed for being manipulated in this way.

    What are some things that your family is doing right now that you want to remember? Be as detailed as you want. Eg. How your one year old snuggles into you. Those adorable smiles! Sweet interactions. Your siblings love for each other.

    You can make the text bold by using <strong>text goes here</strong> tags, and you can make it smaller by using <small>text goes here</small> tags. For example:

    What are some things that your family is doing right now that you want to remember? Be as detailed as you want. <br><strong>Eg.</strong> <small>How your one year old snuggles into you. Those adorable smiles! Sweet interactions. Your siblings love for each other.</small>

    Please note that everything marked in red would be removed if you click on the label in the Form Builder to edit it again, so I would suggest to copy the text with the tags somewhere safe, to have it for reference later on. The form label would look like this with the example above:

  • Profile Image
    AprilRosePhotography
    Answered on June 18, 2015 at 05:38 AM

    Thank you very much, that helps a lot :)

  • Profile Image
    volunteeruwgc
    Answered on February 09, 2017 at 10:50 AM

    I just tried this in 4.0 and couldn't get it to work... is there another way to include a line break in the label?
  • Profile Image
    Jan
    Answered on February 09, 2017 at 12:31 PM

    @volunteeruwgc

    I created a separate thread for your inquiry. Please wait for my reply on this thread: https://www.jotform.com/answers/1061723.

    Thank you.