Anywhere Mobility Studio Documentation

Control sub type LiteralHTML example

TextArea

A textarea or paragraph can contain a large amount of text across multiple lines.

Because there is no inherited styling, alignment can be off. Handle this by adding the style in the expression of the control.

Example

Textarea Example

Setup

Control Setup

Expression of textarea:

"This first line of the paragraph <br style='display:inherit'/>The second line of sample text<br style='display:inherit'/>The third line of the sample text"

Expression of textarea aligned:

"<div style='padding-left: 0.625em'>The first line of sample text<br style='display:inherit'/>The second line of sample text<br style='display:inherit'/>The third line of the sample text</div>"

This adds styling in a native HTML div control.

Known issues

An issue exists where the <br/> does not display. The current workaround is to use <br style='display:inherit'>.

When you encounter this issue, update the Portal software.