# \\n in Label and/or InputText?

**URL:** <https://community.thunkable.com/t/n-in-label-and-or-inputtext/27800>\
**Category:** Questions about Thunkable X\
**Created:** [May 20, 2018, 1:05pm UTC](https://community.thunkable.com/t/n-in-label-and-or-inputtext/27800 "2018-05-20T13:05:43Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![rollke](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/rollke/32/14413_2.png) [@rollke](https://community.thunkable.com/u/rollke)\
**Post date:** [May 20, 2018, 1:05pm UTC](https://community.thunkable.com/t/n-in-label-and-or-inputtext/27800/1 "2018-05-20T13:05:43Z")

</div>

Is the code \n for new line in Label and InputText still not working?

Is Multiline in Label implemented.

I cannot test both, because the output of new line does not work.  
I tried to join texts with \n (alternatively with   
) to manage a multiline output. But had no success!

---

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [May 20, 2018, 1:17pm UTC](https://community.thunkable.com/t/n-in-label-and-or-inputtext/27800/2 "2018-05-20T13:17:06Z")

</div>

Try this [variant](http://community.thunkable.com/t/break-line-in-a-label/24785/3)

---

<div class="post-metadata">

**Author:** ![rollke](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/rollke/32/14413_2.png) [@rollke](https://community.thunkable.com/u/rollke)\
**Post date:** [May 20, 2018, 2:44pm UTC](https://community.thunkable.com/t/n-in-label-and-or-inputtext/27800/3 "2018-05-20T14:44:22Z")

</div>

Thank You,  
but that does not really help. I cannot use a long empty string, because the legth of my text is not always the same.  
I need the proper solution with /n (as in thunkable for android or Java amd Swift).

---

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [May 20, 2018, 3:19pm UTC](https://community.thunkable.com/t/n-in-label-and-or-inputtext/27800/4 "2018-05-20T15:19:34Z")

</div>

Unfortunately \n still does not work. As an alternative to the Label I use html in the Web Viewer, but for Text Input this option is not suitable.

---

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [May 20, 2018, 4:17pm UTC](https://community.thunkable.com/t/n-in-label-and-or-inputtext/27800/5 "2018-05-20T16:17:11Z")

</div>

“… because the legth of my text is not always the same”. Please excuse me, but could you give an example when the code below (the screenshot of which I made from my phone) does not work for you?

 ![break](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/3/8/388f68b47357a8579c59e7a44142191c08ddfd4c.png)

---

<div class="post-metadata">

**Author:** ![rollke](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/rollke/32/14413_2.png) [@rollke](https://community.thunkable.com/u/rollke)\
**Post date:** [May 20, 2018, 5:55pm UTC](https://community.thunkable.com/t/n-in-label-and-or-inputtext/27800/6 "2018-05-20T17:55:34Z")

</div>

Sorry, it really work even in my app (a list constructed line by line).

,-) But it still is a workaround 🙂

---

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [May 31, 2018, 7:24am UTC](https://community.thunkable.com/t/n-in-label-and-or-inputtext/27800/7 "2018-05-31T07:24:54Z")

</div>

Hi there,

I seem to have found a way to use the line break character in the input fields and text fields. The idea is simple - you need to copy the invisible line feed from the multi-line input field.

[https://x.thunkable.com/projects/5b0f9e15e407490001c395ee/project/properties/designer/](https://x.thunkable.com/projects/5b0f9e15e407490001c395ee/project/properties/designer/)

 ![getbrake](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/a/7/a760855dbc676a4a862dd513e474ecbe7684e48c.png)

---

<div class="post-metadata">

**Author:** ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)\
**Post date:** [May 31, 2018, 10:20am UTC](https://community.thunkable.com/t/n-in-label-and-or-inputtext/27800/8 "2018-05-31T10:20:58Z")

</div>

This looks great, thanks @actech.

So in this case, for `TextInput1` the multiline property is is set to true?

Are you doing anything else on the UI side to hide the text input then?

---

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [May 31, 2018, 10:29am UTC](https://community.thunkable.com/t/n-in-label-and-or-inputtext/27800/9 "2018-05-31T10:29:02Z")

</div>

Yes, TextInput1.Multiline = true

No, nothing is hidden. We get a newline character once, and then you can remove the LocalStorage.Save block and the InputText component from the project, as they are no longer needed.

---

<div class="post-metadata">

**Author:** ![Nathan](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/nathan/32/19552_2.png) [@Nathan](https://community.thunkable.com/u/Nathan)\
**Post date:** [May 31, 2018, 10:45am UTC](https://community.thunkable.com/t/n-in-label-and-or-inputtext/27800/10 "2018-05-31T10:45:34Z")

</div>

You can do `<br>` on a label to go to the next line.

---

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [May 31, 2018, 10:47am UTC](https://community.thunkable.com/t/n-in-label-and-or-inputtext/27800/11 "2018-05-31T10:47:41Z")

</div>

Please show an example of this in Thunkable X.

---

<div class="post-metadata">

**Author:** ![Nathan](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/nathan/32/19552_2.png) [@Nathan](https://community.thunkable.com/u/Nathan)\
**Post date:** [May 31, 2018, 10:48am UTC](https://community.thunkable.com/t/n-in-label-and-or-inputtext/27800/12 "2018-05-31T10:48:55Z")

</div>

Will show later…

---

<div class="post-metadata">

**Author:** ![Danny\_Smoka](https://avatars.discourse-cdn.com/v4/letter/d/58f4c7/32.png) [@Danny\_Smoka](https://community.thunkable.com/u/Danny_Smoka)\
**Post date:** [June 16, 2018, 9:44pm UTC](https://community.thunkable.com/t/n-in-label-and-or-inputtext/27800/13 "2018-06-16T21:44:08Z")

</div>

> [@\[Solved\] New line workaround for Thunkable X](http://community.thunkable.com/t/new-line-thunkable-x-ios/31880):
>
> I Finally After A Week Or So Trying To Figure Out How To Make A New Line In A Label I Figured It Out By Myself. I’m Having A Guess Someone Else Figured Out This By This Method But I Just Figured It Out Through Tons Of Trial And Error. And Today I’m Going To Share To Everyone The One Thing That Probably Many New Members To Thunkable Have Been Wondering How To Do And That Is Creating A New Line In A Label, Text Input. So What I Did Was Created A Tag / Entry In Firebase And Named It br Then Set …

---

<div class="post-metadata">

**Author:** ![Alan](https://avatars.discourse-cdn.com/v4/letter/a/a87d85/32.png) [@Alan](https://community.thunkable.com/u/Alan)\
**Post date:** [July 2, 2018, 8:17pm UTC](https://community.thunkable.com/t/n-in-label-and-or-inputtext/27800/14 "2018-07-02T20:17:32Z")

</div>

Thanks for this, I found a way to do it via the Air Table spreadsheet.  
this way could also probably be done using a text box with “multiple line = true” and “editable = false”…  
but i dont want a text box visible on my screen for aesthetic purposes! You can the use the “value” from this procedure multiple times to break other text pieces, in lists as well…!!

see Pics attached.

 ![2018-07-02_LI](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/f/3/f3adc6eeede21a4ccb14909822e23af8d91946b2.jpg)!  
 ![2018-07-02%20(1)_LI](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/6/46030e3f8e33be7343526846a47c08eec5059a55.jpg)  
 ![2018-07-02%20(3)](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/2/2/2240d39d9804548b7829652649c0d89b1feea516.png)

---

<div class="post-metadata">

**Author:** ![the\_coder\_kid](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/the_coder_kid/32/79758_2.png) [@the\_coder\_kid](https://community.thunkable.com/u/the_coder_kid)\
**Post date:** [October 15, 2020, 11:24am UTC](https://community.thunkable.com/t/n-in-label-and-or-inputtext/27800/15 "2020-10-15T11:24:27Z")

</div>

There is a new block. in the text block bucket.  
scroll completely down

 ![new line block](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/f/6/f6039b44622f4855240eb201ebac5793b0d119b2.png)

---

<div class="post-metadata">

**Author:** ![anandavardhana57zwwl](https://avatars.discourse-cdn.com/v4/letter/a/8baadc/32.png) [@anandavardhana57zwwl](https://community.thunkable.com/u/anandavardhana57zwwl)\
**Post date:** [December 5, 2022, 4:44am UTC](https://community.thunkable.com/t/n-in-label-and-or-inputtext/27800/17 "2022-12-05T04:44:51Z")

</div>

In Thunkable X use a LBL and \n works without any issues. Text box does not interpret \n as LF

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/9/c/9c711eb9c5071491df2a8ac14d2f7a79a2e38483.png)  
I am using this block to trace execution. I get a perfect line by line execution trace  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/e/e/eea36f9a613c54c9f93316fe8a0a4f6c45fda7a4.png)  
Thanks to Tatiang who gave me this idea

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [December 5, 2022, 6:53am UTC](https://community.thunkable.com/t/n-in-label-and-or-inputtext/27800/18 "2022-12-05T06:53:55Z")

</div>

I’m glad it’s working for you! But there’s no need to reply to a topic that is 2 years old.

---

<div class="post-metadata">

**Author:** ![anandavardhana57zwwl](https://avatars.discourse-cdn.com/v4/letter/a/8baadc/32.png) [@anandavardhana57zwwl](https://community.thunkable.com/u/anandavardhana57zwwl)\
**Post date:** [December 5, 2022, 3:19pm UTC](https://community.thunkable.com/t/n-in-label-and-or-inputtext/27800/19 "2022-12-05T15:19:55Z")

</div>

The reason I replied was getting \n to work took me a lot of time and experiment. It just worked for Label and for some strange reason never worked for Text boxes, supporting multiple lines did not help. Google could not get me the answer. So I thought anyone like me in the current times might benefit from my work.

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 12:02pm UTC](https://community.thunkable.com/t/n-in-label-and-or-inputtext/27800/20 "2024-11-08T12:02:15Z")

</div>


