Line break in Text Area

  • 1
  • Question
  • Updated 3 months ago
  • Answered
Can I merge in a line break using the "update field on a row" action where the field is a text area?

Like so:
Photo of Chandra V

Chandra V, Champion

  • 6,966 Points 5k badge 2x thumb

Posted 2 years ago

  • 1
Photo of Gregg Baxter

Gregg Baxter, Official Rep

  • 3,080 Points 3k badge 2x thumb
Hi Chandra

You can add in '&nbsp' as many times as you like to add a line break as long as you need. 
Photo of Emily Davis

Emily Davis, Employee

  • 3,502 Points 3k badge 2x thumb
Hey, all,
I tried Gregg's solution, and it looks like what you might need is 
The   did successfully add a space (not a new line), which was a great tip to know that character entities work within the "Update Field on a Row" action! Great find.
Hope that helps you, Chandra.
Emily
Photo of Khamla Phimmachack

Khamla Phimmachack, Official Rep

  • 1,536 Points 1k badge 2x thumb
Not the most direct way, but you can also accomplish this by creating a formula field in a UI-Only model, where the formula contains the text and merge syntax you want to display in quotes. For example:

Note that the entire formula is in quotes, including your line break and merge syntax. You can then use the action framework to update a field on a row using the global merge syntax for this formula field, {{$Model.yourUiModelName.data.0.yourFormulaField}}.